JeCabrera's picture
Update bullets/generator.py
bf4ebbb verified
raw
history blame
9.13 kB
def create_bullet_instruction():
"""
Creates the instruction for generating benefit bullets.
The model will randomly choose between different bullet formulas.
Returns:
str: The complete instruction for generating bullets
"""
# Base instruction that applies to all formulas
base_instruction = """
IMPORTANT: After creating the main offer, add a section with 5 powerful benefit bullets that reinforce the promise.
Start the bullets section with an introduction like:
"Además, al aprovechar esta oferta también obtendrás:" or "Y eso no es todo, también disfrutarás de estos beneficios adicionales:" or "Con esta solución también conseguirás:"
For the benefit bullets section:
You are a world-class expert copywriter, experienced in creating benefits that emotionally connect and address the desires, problems, and motivations of the target audience.
OBJECTIVE:
- Generate 5 convincing and specific benefit bullets in Spanish
- Connect emotionally with the audience
- Address real desires, problems, and motivations
- Maintain natural and conversational language
- Orient each benefit towards action
FORMAT RULES:
- Each benefit must start with "• "
- One benefit per line
- No explanations or categories
- Add a line break between each benefit
- Never include : symbols in bullets
- Never use exclamation marks (!) in any bullet
- Each benefit must be a complete and concise phrase
- Do not use any emojis in the bullets
- Use natural, conversational language (avoid formal or technical jargon)
IMPORTANT:
- Each benefit must be unique and specific with measurable outcomes
- Avoid vague phrases like "en tiempo récord" - always specify exact timeframes
- Each bullet must solve a specific problem or address a concrete pain point
- Include at least one bullet that directly counters a common objection
- Each bullet should contain a clear call to action or motivation element
- Avoid repetitions and generalities
- Maintain a persuasive but honest tone
- Adapt language to audience comprehension level
- Focus on tangible and measurable results with specific numbers when possible
- Do not use emojis anywhere in the bullets
- Write in a natural, conversational tone as if speaking directly to the reader
- Never use exclamation marks in the bullets
"""
# Multiple formula instructions
formula_instructions = """
IMPORTANT: Choose ONE of the following bullet formulas at random and use it consistently for ALL 5 bullets:
FORMULA 1 - STANDARD BENEFIT:
- Must be relevant to target audience
- Must show a specific result
- Must include an emotional element
- Must eliminate an objection or pain point
- Must inspire immediate action
EXAMPLE FORMAT FOR FORMULA 1:
•Transforma tu negocio con estrategias probadas que duplican tus ingresos en 90 días, sin sacrificar tu tiempo en familia.
FORMULA 2 - 3 EN 1 (FEATURE + BENEFIT + MEANING):
Formula: [Feature + Benefit + Meaning]
This formula creates an instant connection by linking three key elements:
1. Feature: The main characteristic or aspect of your offer
2. Benefit: What it allows the user to achieve or obtain
3. Meaning: The deeper impact or transformation in their life
Instructions for Creating Connection Bullets:
1. Identify Your Core Feature:
- What makes your offer unique?
- What's the main characteristic?
- What's the standout element?
2. Transform into Benefits:
- How does this feature help them?
- What can they achieve with it?
- What becomes possible?
3. Add Deeper Meaning:
- How does it transform their life?
- What's the emotional impact?
- What does it mean for their identity?
Structure Formats:
1. "[Feature] para que puedas [Benefit] con lo que [Meaning]"
2. "Con [Feature] podrás [Benefit] permitiéndote [Meaning]"
3. "Gracias a [Feature] lograrás [Benefit] haciendo que [Meaning]"
4. "Mediante [Feature] conseguirás [Benefit] lo que significa [Meaning]"
5. "Usando [Feature] alcanzarás [Benefit] transformando [Meaning]"
EXAMPLES FOR FORMULA 2:
• El Sistema de meditación guiada para que puedas alcanzar la paz mental con lo que por fin dejarás de sentirte abrumado por el caos diario.
• Con nuestro algoritmo de enfoque profundo podrás duplicar tu productividad permitiéndote disfrutar más tiempo con quienes amas.
• Gracias a nuestra tecnología de reprogramación mental lograrás superar tus miedos haciendo que te sientas invencible ante cualquier reto.
• Mediante nuestro framework de creatividad conseguirás ideas brillantes lo que significa que nunca más te quedarás en blanco.
• Usando nuestro sistema de automatización mental alcanzarás el estado de flow transformando cada tarea en una experiencia placentera.
FORMULA 3 - ANTI-PROCRASTINACIÓN (ACTION + RESULT + TIME):
Formula: [Action + Result + Time]
This formula uses a clear action followed by a direct result and the time in which that result will be achieved. You can modify the order of elements as needed.
Instructions:
1. Establish the clear action that the user must take (buy, register, download, etc.).
2. Define the result that the user will obtain after taking the action (more clients, time savings, acquired skill, etc.).
3. Indicate the time period in which they will experience that result, ensuring the user sees the immediate or short-term benefit.
Response Format (choose one for each bullet):
1. Action + Result + Time
2. Action + Time + Result
3. Result + Action + Time
4. Result + Time + Action
5. Time + Action + Result
6. Time + Result + Action
7. Result + Time + Action
8. Action + Result (no explicit time needed)
9. Result + Action (no explicit time needed)
10. Action + Time (no explicit result mentioned)
Psychological Basis:
- Clear actions generate quick responses.
- Tangible results attract attention.
- Urgency is effective when combined with specific time.
EXAMPLES FOR FORMULA 3:
• Dale un click a ese botón y en 24 horas descubrirás por qué tu competencia está mordiendo almohadas.
• En 7 días tu productividad será tan alta que tu cama te echará de menos. ¿Te atreves a descubrirlo?
• Tu competencia entrará en modo pánico en 24 horas. Descubre cómo mientras tomas tu café (descafeinado).
• 48 horas y serás más productivo que un ejército de clones tuyos. ¿Listo para multiplicarte?
• Convierte tu caos en una sinfonía perfecta. Descubre cómo en 24 horas (director de orquesta no incluido).
FORMULA 4 - NÚMERICA SUPREMA:
La Fórmula Suprema de Istvanova combina 5 elementos clave más artículos plurales para crear bullets persuasivos e interesantes:
1. Artículos Plurales (Art):
- Los (para masculino plural)
- Las (para femenino plural)
- Dan naturalidad y autoridad al texto
2. Números (N):
- Específicos y creíbles (3, 5, 7, 10...)
- Crean estructura y expectativas claras
- Se combinan con artículos: "Los 5...", "Las 3..."
3. Adjetivo (A):
- Emocionales y descriptivos
- Conectan con deseos/miedos
- Ejemplos: poderosos, simples, efectivos, revolucionarios
4. Palabra Clave (P):
- Término central del beneficio en plural
- Fácil de entender y recordar
- Ejemplos: métodos, estrategias, técnicas, secretos
5. Razón (R):
- Justifica el beneficio
- Añade credibilidad
- Conecta con la motivación del lector
6. Promesa (P):
- Resultado específico y medible
- Timeframe realista
- Beneficio final atractivo
Formatos:
- Corto: Art plural + N + A + P + P
- Medio: Art plural + N + A + P + R + P
- Largo: Art plural + N + A + P + R detallada + P específica
Consejos de uso:
- Usa siempre la forma plural para mayor impacto
- Alterna entre 'los' y 'las' según la palabra clave
- Mantén coherencia en el género a lo largo del bullet
- Combina artículos con números de forma natural
- Asegura que la palabra clave esté en plural
EXAMPLES FOR FORMULA 4:
• Los 3 rituales probados para dormir mejor.
• Las 5 rutinas efectivas para fortalecer tu core.
• Los 7 hábitos esenciales para aumentar productividad.
• Las 3 técnicas comprobadas para dormir mejor basadas en neurociencia.
• Los 5 movimientos efectivos para fortalecer tu core sin equipamiento.
Remember to choose just ONE formula and apply it consistently to all 5 bullets.
"""
# Combine base instruction with formula instructions
complete_instruction = base_instruction + formula_instructions
return complete_instruction