Spaces:
Sleeping
Sleeping
Update formulas.py
Browse files- formulas.py +163 -94
formulas.py
CHANGED
|
@@ -1,100 +1,125 @@
|
|
| 1 |
-
# Dictionary of offer formulas with their descriptions and examples
|
| 2 |
offer_formulas = {
|
| 3 |
"Oferta Dorada": {
|
| 4 |
-
"description": ""
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
""
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
# Example 3 - Bold statement format with clear time/effort distinction
|
| 77 |
-
"""La mayoría de dietas fallan porque atacan el síntoma y no la causa real del sobrepeso.
|
| 78 |
-
|
| 79 |
-
PIERDE ENTRE 5 Y 8 KILOS EN 30 DÍAS SIN DIETAS RESTRICTIVAS, SIN PASAR HAMBRE Y SIN EFECTO REBOTE.
|
| 80 |
-
|
| 81 |
-
Gracias a nuestro método de reprogramación metabólica activarás tu quema natural de grasa, avalado por estudios clínicos con 94% de efectividad. Verás los primeros resultados en solo 7 días, dedicando apenas 15 minutos diarios a los ejercicios metabólicos.""",
|
| 82 |
-
|
| 83 |
-
# Example 4 - Contrast format
|
| 84 |
-
"""Mientras otros influencers consiguen miles de seguidores cada semana, tú sigues creando contenido que nadie ve.
|
| 85 |
-
|
| 86 |
-
CONSIGUE 100 NUEVOS SEGUIDORES CUALIFICADOS POR SEMANA Y CONVIERTE EL 10% EN CLIENTES PAGANDO CON SOLO 3 PUBLICACIONES SEMANALES.
|
| 87 |
-
|
| 88 |
-
Usando nuestra estrategia de contenido de alto impacto transformarás tu presencia en redes en un canal de ventas automático en menos de 30 días.""",
|
| 89 |
-
|
| 90 |
-
# Example 5 - Empathetic format
|
| 91 |
-
"""Sé lo frustrante que es despertarse sin energía día tras día, sintiendo que nunca hay suficientes horas.
|
| 92 |
-
|
| 93 |
-
AUMENTA TU ENERGÍA UN 65% Y RECUPERA 2 HORAS PRODUCTIVAS AL DÍA CON SOLO 15 MINUTOS DE RUTINA MATUTINA.
|
| 94 |
-
|
| 95 |
-
El Sistema de activación bioenergética optimizará tu rendimiento físico y mental desde la primera semana, usado por los CEOs más exitosos del mundo."""
|
| 96 |
-
]
|
| 97 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
"Fórmula Sueño-Obstáculo": {
|
| 99 |
"description": """
|
| 100 |
Formula: [Type + Name + Dream + Obstacle]
|
|
@@ -160,6 +185,50 @@ This formula connects directly with the client's desires and concerns:
|
|
| 160 |
|
| 161 |
# Example 7 - Relationships
|
| 162 |
"""Por fin existe un programa de coaching llamado "Conexiones Profundas" que te ayudará a encontrar y mantener relaciones saludables y satisfactorias aún y cuando hayas tenido experiencias dolorosas en el pasado."""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 163 |
]
|
| 164 |
}
|
| 165 |
}
|
|
|
|
|
|
|
| 1 |
offer_formulas = {
|
| 2 |
"Oferta Dorada": {
|
| 3 |
+
"description": "...", # Existing description
|
| 4 |
+
"examples": [...], # Existing examples
|
| 5 |
+
"instructions": """
|
| 6 |
+
SPECIFIC INSTRUCTIONS FOR THIS FORMULA:
|
| 7 |
+
1. PRODUCT/SERVICE NAME HANDLING:
|
| 8 |
+
- CRITICAL: If a product name is provided, YOU MUST USE THAT EXACT NAME in one of the three lines of the offer.
|
| 9 |
+
- If a product name is provided, use it EXACTLY as provided with no modifications
|
| 10 |
+
- If no product name is provided, DO NOT create or add ANY name
|
| 11 |
+
- DO NOT invent names like "ProExpert", "Sistema Profesional", "método XYZ", etc.
|
| 12 |
+
- DO NOT add product names like "curso", "programa", etc. unless they were explicitly provided
|
| 13 |
+
- For the third line, use generic terms like "Con nuestra metodología", "Mediante este sistema",
|
| 14 |
+
"Gracias a este método", etc. when no specific name is provided
|
| 15 |
+
|
| 16 |
+
2. FOLLOW THE 6-STEP PROCESS FOR CREATING AN IRRESISTIBLE OFFER:
|
| 17 |
+
|
| 18 |
+
STEP 1: IDENTIFY THE MAIN PROBLEM (ATTENTION HOOK)
|
| 19 |
+
- Analyze the avatar_description DEEPLY to understand their specific pain points
|
| 20 |
+
- Create a powerful hook that directly addresses their biggest frustration or anxiety
|
| 21 |
+
- Use statements that make them think "this person understands my situation exactly"
|
| 22 |
+
- Focus on the emotional impact of their problem, not just the practical aspects
|
| 23 |
+
- The hook must create an immediate emotional connection
|
| 24 |
+
- IMPORTANT: Be creative and varied in your approach
|
| 25 |
+
|
| 26 |
+
STEP 2: CRAFT A QUANTIFIABLE VALUE PROMISE
|
| 27 |
+
- Write a promise COMPLETELY IN CAPITAL LETTERS that includes:
|
| 28 |
+
* Concrete numbers (money, time, results)
|
| 29 |
+
* Powerful action verbs (EARN, MULTIPLY, ACHIEVE, MASTER)
|
| 30 |
+
* Specific timeframes (EN 30 DÍAS, EN SOLO 2 SEMANAS)
|
| 31 |
+
* Clear effort indicators (CON SOLO 15 MINUTOS DIARIOS)
|
| 32 |
+
- Follow this structure: CÓMO [LOGRAR RESULTADO DESEADO] SIN [OBJECIÓN O CREENCIA LIMITANTE]
|
| 33 |
+
- NEVER use exclamation marks (!) in this section
|
| 34 |
+
- Make the promise both ambitious and believable
|
| 35 |
+
- AVOID GENERIC PHRASES like "al otro nivel", "en tiempo récord", "como nunca antes", "revolucionario"
|
| 36 |
+
- Instead, use SPECIFIC, MEASURABLE language that clearly states the exact benefit
|
| 37 |
+
|
| 38 |
+
STEP 3: DEMONSTRATE TRUST AND AUTHORITY
|
| 39 |
+
- Include elements that prove your system works:
|
| 40 |
+
* Personal results ("Así como he vendido más de $250,000 USD")
|
| 41 |
+
* Client results ("Mis clientes han vendido más de $5,000,000")
|
| 42 |
+
* Social proof (testimonials, case studies)
|
| 43 |
+
- Establish credibility through specific numbers and verifiable claims
|
| 44 |
+
- Connect your authority directly to the promised result
|
| 45 |
+
|
| 46 |
+
STEP 4: REDUCE DELIVERY TIME
|
| 47 |
+
- Clearly state how quickly they will see results
|
| 48 |
+
- Make the timeframe specific and believable
|
| 49 |
+
- Emphasize speed without sacrificing quality
|
| 50 |
+
- Use phrases like "en solo X días" or "desde la primera semana"
|
| 51 |
+
- IMPORTANT: This refers to when they'll see RESULTS, not how long they need to work
|
| 52 |
+
- Examples: "verás resultados en 30 días", "transformación completa en 8 semanas"
|
| 53 |
+
|
| 54 |
+
STEP 5: MINIMIZE CLIENT EFFORT
|
| 55 |
+
- Address the fear of complicated processes
|
| 56 |
+
- CLEARLY specify the exact effort required from the client:
|
| 57 |
+
* Time commitment: "con solo 15 minutos al día"
|
| 58 |
+
* Frequency: "practicando 3 veces por semana"
|
| 59 |
+
* Complexity: "siguiendo 5 pasos sencillos"
|
| 60 |
+
* Prerequisites: "sin necesidad de experiencia previa"
|
| 61 |
+
- Make the implementation process seem accessible and straightforward
|
| 62 |
+
- Emphasize the low effort-to-results ratio
|
| 63 |
+
- Examples: "dedicando solo 20 minutos diarios", "con 3 ejercicios simples"
|
| 64 |
+
|
| 65 |
+
STEP 6: COMBINE ALL ELEMENTS INTO A COHESIVE OFFER
|
| 66 |
+
- Ensure all elements address the SAME core problem
|
| 67 |
+
- Create a LOGICAL PROGRESSION from problem to solution to implementation
|
| 68 |
+
- Maintain thematic consistency throughout the entire offer
|
| 69 |
+
- Be SPECIFIC and CONCRETE - avoid generic superlatives and clichés
|
| 70 |
+
- Use PRECISE language that creates a clear mental image
|
| 71 |
+
- BANNED PHRASES: "al otro nivel", "en tiempo récord", "como nunca antes",
|
| 72 |
+
"revolucionario", "increíble", "asombroso", "el mejor", "único"
|
| 73 |
+
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
},
|
| 75 |
+
"Fórmula Sueño-Obstáculo": {
|
| 76 |
+
"description": "...", # Existing description
|
| 77 |
+
"examples": [...], # Existing examples
|
| 78 |
+
"instructions": """
|
| 79 |
+
SPECIFIC INSTRUCTIONS FOR THIS FORMULA:
|
| 80 |
+
1. PRODUCT/SERVICE NAME HANDLING:
|
| 81 |
+
- CRITICAL: If a product name is provided, YOU MUST USE THAT EXACT NAME. This is non-negotiable.
|
| 82 |
+
- If the product name is not empty, use it EXACTLY as provided with no modifications
|
| 83 |
+
- Only create a new name if no product name is provided or it contains generic placeholders
|
| 84 |
+
|
| 85 |
+
2. Analyze ALL available information:
|
| 86 |
+
- Product/service name (use the name provided)
|
| 87 |
+
- Target audience description (avatar_description)
|
| 88 |
+
- Content from uploaded files (if any)
|
| 89 |
+
|
| 90 |
+
3. Determine the most appropriate type (curso, webinar, entrenamiento, etc.) based on:
|
| 91 |
+
- Any type mentioned in product_name
|
| 92 |
+
- The nature of the solution described in avatar_description
|
| 93 |
+
- The most suitable format for the target audience's needs
|
| 94 |
+
|
| 95 |
+
4. Create a comprehensive offer by combining:
|
| 96 |
+
- The appropriate type (determined in step 3)
|
| 97 |
+
- The EXACT product name as provided (if available)
|
| 98 |
+
- A compelling dream based on avatar_description
|
| 99 |
+
- A relevant obstacle based on avatar_description
|
| 100 |
+
|
| 101 |
+
5. The dream should be ambitious but believable, incorporating:
|
| 102 |
+
- Target audience desires from avatar_description
|
| 103 |
+
- Explicit goals mentioned in uploaded content (if any)
|
| 104 |
+
|
| 105 |
+
6. The obstacle should reflect:
|
| 106 |
+
- Real problems mentioned in avatar_description
|
| 107 |
+
- Challenges that would normally prevent achieving the dream
|
| 108 |
+
|
| 109 |
+
7. IMPORTANT: Vary the way you start the phrase. Instead of always using "Se trata de un...", use different openings such as:
|
| 110 |
+
- "Presentamos un..."
|
| 111 |
+
- "Te ofrecemos un..."
|
| 112 |
+
- "Descubre nuestro..."
|
| 113 |
+
- "Conoce el..."
|
| 114 |
+
- "Hemos creado un..."
|
| 115 |
+
- "Imagina tener acceso a un..."
|
| 116 |
+
- "Por fin existe un..."
|
| 117 |
+
- "Ahora puedes acceder a un..."
|
| 118 |
+
- "Tenemos para ti un..."
|
| 119 |
+
- "Disfruta de un..."
|
| 120 |
+
"""
|
| 121 |
+
}
|
| 122 |
+
},
|
| 123 |
"Fórmula Sueño-Obstáculo": {
|
| 124 |
"description": """
|
| 125 |
Formula: [Type + Name + Dream + Obstacle]
|
|
|
|
| 185 |
|
| 186 |
# Example 7 - Relationships
|
| 187 |
"""Por fin existe un programa de coaching llamado "Conexiones Profundas" que te ayudará a encontrar y mantener relaciones saludables y satisfactorias aún y cuando hayas tenido experiencias dolorosas en el pasado."""
|
| 188 |
+
|
| 189 |
+
"instructions": """
|
| 190 |
+
SPECIFIC INSTRUCTIONS FOR THIS FORMULA:
|
| 191 |
+
1. PRODUCT/SERVICE NAME HANDLING:
|
| 192 |
+
- CRITICAL: If a product name is provided, YOU MUST USE THAT EXACT NAME. This is non-negotiable.
|
| 193 |
+
- If the product name is not empty, use it EXACTLY as provided with no modifications
|
| 194 |
+
- Only create a new name if no product name is provided or it contains generic placeholders
|
| 195 |
+
|
| 196 |
+
2. Analyze ALL available information:
|
| 197 |
+
- Product/service name (use the name provided)
|
| 198 |
+
- Target audience description (avatar_description)
|
| 199 |
+
- Content from uploaded files (if any)
|
| 200 |
+
|
| 201 |
+
3. Determine the most appropriate type (curso, webinar, entrenamiento, etc.) based on:
|
| 202 |
+
- Any type mentioned in product_name
|
| 203 |
+
- The nature of the solution described in avatar_description
|
| 204 |
+
- The most suitable format for the target audience's needs
|
| 205 |
+
|
| 206 |
+
4. Create a comprehensive offer by combining:
|
| 207 |
+
- The appropriate type (determined in step 3)
|
| 208 |
+
- The EXACT product name as provided (if available)
|
| 209 |
+
- A compelling dream based on avatar_description
|
| 210 |
+
- A relevant obstacle based on avatar_description
|
| 211 |
+
|
| 212 |
+
5. The dream should be ambitious but believable, incorporating:
|
| 213 |
+
- Target audience desires from avatar_description
|
| 214 |
+
- Explicit goals mentioned in uploaded content (if any)
|
| 215 |
+
|
| 216 |
+
6. The obstacle should reflect:
|
| 217 |
+
- Real problems mentioned in avatar_description
|
| 218 |
+
- Challenges that would normally prevent achieving the dream
|
| 219 |
+
|
| 220 |
+
7. IMPORTANT: Vary the way you start the phrase. Instead of always using "Se trata de un...", use different openings such as:
|
| 221 |
+
- "Presentamos un..."
|
| 222 |
+
- "Te ofrecemos un..."
|
| 223 |
+
- "Descubre nuestro..."
|
| 224 |
+
- "Conoce el..."
|
| 225 |
+
- "Hemos creado un..."
|
| 226 |
+
- "Imagina tener acceso a un..."
|
| 227 |
+
- "Por fin existe un..."
|
| 228 |
+
- "Ahora puedes acceder a un..."
|
| 229 |
+
- "Tenemos para ti un..."
|
| 230 |
+
- "Disfruta de un..."
|
| 231 |
+
"""
|
| 232 |
]
|
| 233 |
}
|
| 234 |
}
|