
La ingeniería rápida es la práctica de diseñar y refinar las entradas de los modelos de IA para obtener los mejores resultados posibles. Un mensaje bien elaborado puede marcar la diferencia entre una respuesta genérica y una reveladora.
La ingeniería rápida es la práctica de diseñar y refinar las entradas de los modelos de IA para obtener los mejores resultados posibles. Un mensaje bien elaborado puede marcar la diferencia entre una respuesta genérica y una reveladora.
| Aviso débil | Fuerte mensaje |
|---|---|
| "Escribe sobre perros" | "Escriba un artículo de 500 palabras que compare los Golden Retrievers y los Labradores para dueños de perros por primera vez, centrándose en las necesidades de ejercicio y el temperamento" |
| "Hazlo mejor" | "Vuelva a escribir este párrafo para que sea más conciso. Reduzca el recuento de palabras en un 40 % manteniendo toda la información clave. Utilice la voz activa". |
Bad: "Write a blog post about solar energy"
Good: "Write a blog post for homeowners in Arizona considering
solar panels. The reader is concerned about upfront costs and
maintenance. Address these concerns, explain the 30% federal tax
credit, and include typical payback periods. Tone: informative but
accessible. Target length: 1,200 words."
"Analyze this customer feedback and output as JSON:
{
"sentiment": "positive/negative/neutral",
"key_issues": ["issue1", "issue2"],
"urgency": "low/medium/high",
"recommended_action": "string"
}"
"You are an experienced cardiologist reviewing a patient's lab
results. Explain these results to a 45-year-old patient who is
anxious but wants to understand their health. Avoid jargon.
Compare values to normal ranges."
"Solve this step by step:
A store has a 30% off sale. An item costs $84 after the discount.
What was the original price?
Step 1: If the price after 30% off is $84, that means...
Step 2: 70% of the original price = $84
Step 3: 1% of the original price = $84 / 70 = $1.20
Step 4: 100% of the original price = $1.20 × 100 = $120
Answer: $120
Proporcione ejemplos antes de preguntar:
Convert temperatures:
Water boils at 212°F → 100°C
Room temperature is 72°F → 22.2°C
Body temperature is 98.6°F → 37°C
What is 0°F in Celsius?
Dígale al modelo qué NO hacer:
"Write a product description for a standing desk.
Do NOT mention:
- Price (pricing is on the product page)
- Brand names of competitors
- Shipping details
- Use the word 'ergonomic' more than once
- Write more than 100 words"
Para aplicaciones, establezca un comportamiento persistente:
SYSTEM: You are a customer support agent for TechCo.
RULES:
- Always identify yourself as "Support Agent"
- Never apologize ("I understand your frustration" instead of "I'm sorry")
- If you don't know something, say "I'll escalate this to our senior team"
- Always end with a specific next step
- Keep responses under 3 paragraphs
Write a [type: blog post/email/social post] about [topic].
Target audience: [description]
Tone: [professional/conversational/enthusiastic]
Length: [word count]
Key points to include:
- [point 1]
- [point 2]
- [point 3]
Structure:
1. Hook
2. Problem/Context
3. Solution
4. Examples
5. Call to action
Analyze the following [text/data] and provide:
1. Summary (2-3 sentences)
2. Key findings (bullet points)
3. Actionable recommendations (numbered)
4. Confidence level (high/medium/low)
Here is the content:
[PASTE CONTENT]
Language: [Python/JavaScript/etc.]
Task: [describe function/module]
Constraints:
- Must handle edge cases: [list]
- Follow [style guide]
- Include type hints
- Maximum complexity: O(n)
- No external libraries except [allowed]
Example input/output:
Input: [example]
Output: [expected]
| error | problema | Arreglar |
|---|---|---|
| ser vago | Salida genérica | Agregar restricciones específicas |
| Sobrecarga | El modelo omite puntos clave | Priorizar, utilizar estructura |
| Sin instrucciones negativas | Obtiene el tono equivocado | Indique explícitamente qué evitar |
| Asumiendo conocimiento | Contexto faltante | Indica todo explícitamente |
| Expectativa de un solo disparo | Mal primer resultado | Iterar: generar → revisar → refinar |
La ingeniería rápida es una habilidad que se puede aprender. Las mejores indicaciones son:
Invierta tiempo en sus indicaciones: la calidad de su resultado depende de la calidad de su entrada.
Todavía no hay comentarios aprobados. Las respuestas nuevas pueden esperar moderación.