JeCabrera commited on
Commit
17a4a69
·
verified ·
1 Parent(s): bf4ebbb

Update bullets/generator.py

Browse files
Files changed (1) hide show
  1. bullets/generator.py +70 -91
bullets/generator.py CHANGED
@@ -1,11 +1,4 @@
1
  def create_bullet_instruction():
2
- """
3
- Creates the instruction for generating benefit bullets.
4
- The model will randomly choose between different bullet formulas.
5
-
6
- Returns:
7
- str: The complete instruction for generating bullets
8
- """
9
  # Base instruction that applies to all formulas
10
  base_instruction = """
11
  IMPORTANT: After creating the main offer, add a section with 5 powerful benefit bullets that reinforce the promise.
@@ -36,16 +29,16 @@ def create_bullet_instruction():
36
  - Use natural, conversational language (avoid formal or technical jargon)
37
 
38
  IMPORTANT:
39
- - Each benefit must be unique and specific with measurable outcomes
40
- - Avoid vague phrases like "en tiempo récord" - always specify exact timeframes
41
- - Each bullet must solve a specific problem or address a concrete pain point
42
- - Include at least one bullet that directly counters a common objection
43
- - Each bullet should contain a clear call to action or motivation element
44
- - Avoid repetitions and generalities
45
- - Maintain a persuasive but honest tone
46
- - Adapt language to audience comprehension level
47
- - Focus on tangible and measurable results with specific numbers when possible
48
- - Do not use emojis anywhere in the bullets
49
  - Write in a natural, conversational tone as if speaking directly to the reader
50
  - Never use exclamation marks in the bullets
51
  """
@@ -55,52 +48,56 @@ def create_bullet_instruction():
55
  IMPORTANT: Choose ONE of the following bullet formulas at random and use it consistently for ALL 5 bullets:
56
 
57
  FORMULA 1 - STANDARD BENEFIT:
58
- - Must be relevant to target audience
59
- - Must show a specific result
60
- - Must include an emotional element
61
- - Must eliminate an objection or pain point
62
- - Must inspire immediate action
63
 
64
  EXAMPLE FORMAT FOR FORMULA 1:
65
- •Transforma tu negocio con estrategias probadas que duplican tus ingresos en 90 días, sin sacrificar tu tiempo en familia.
66
 
67
  FORMULA 2 - 3 EN 1 (FEATURE + BENEFIT + MEANING):
68
  Formula: [Feature + Benefit + Meaning]
69
 
70
  This formula creates an instant connection by linking three key elements:
71
- 1. Feature: The main characteristic or aspect of your offer
72
- 2. Benefit: What it allows the user to achieve or obtain
73
- 3. Meaning: The deeper impact or transformation in their life
74
 
75
  Instructions for Creating Connection Bullets:
76
  1. Identify Your Core Feature:
77
- - What makes your offer unique?
78
- - What's the main characteristic?
79
- - What's the standout element?
80
 
81
  2. Transform into Benefits:
82
- - How does this feature help them?
83
- - What can they achieve with it?
84
- - What becomes possible?
85
 
86
  3. Add Deeper Meaning:
87
- - How does it transform their life?
88
- - What's the emotional impact?
89
- - What does it mean for their identity?
90
 
91
  Structure Formats:
92
- 1. "[Feature] para que puedas [Benefit] con lo que [Meaning]"
93
- 2. "Con [Feature] podrás [Benefit] permitiéndote [Meaning]"
94
- 3. "Gracias a [Feature] lograrás [Benefit] haciendo que [Meaning]"
95
- 4. "Mediante [Feature] conseguirás [Benefit] lo que significa [Meaning]"
96
- 5. "Usando [Feature] alcanzarás [Benefit] transformando [Meaning]"
97
 
98
  EXAMPLES FOR FORMULA 2:
99
- • 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.
100
- • Con nuestro algoritmo de enfoque profundo podrás duplicar tu productividad permitiéndote disfrutar más tiempo con quienes amas.
101
- Gracias a nuestra tecnología de reprogramación mental lograrás superar tus miedos haciendo que te sientas invencible ante cualquier reto.
102
- • Mediante nuestro framework de creatividad conseguirás ideas brillantes lo que significa que nunca más te quedarás en blanco.
103
- Usando nuestro sistema de automatización mental alcanzarás el estado de flow transformando cada tarea en una experiencia placentera.
 
 
 
 
104
 
105
  FORMULA 3 - ANTI-PROCRASTINACIÓN (ACTION + RESULT + TIME):
106
  Formula: [Action + Result + Time]
@@ -108,9 +105,9 @@ def create_bullet_instruction():
108
  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.
109
 
110
  Instructions:
111
- 1. Establish the clear action that the user must take (buy, register, download, etc.).
112
- 2. Define the result that the user will obtain after taking the action (more clients, time savings, acquired skill, etc.).
113
- 3. Indicate the time period in which they will experience that result, ensuring the user sees the immediate or short-term benefit.
114
 
115
  Response Format (choose one for each bullet):
116
  1. Action + Result + Time
@@ -120,21 +117,17 @@ def create_bullet_instruction():
120
  5. Time + Action + Result
121
  6. Time + Result + Action
122
  7. Result + Time + Action
123
- 8. Action + Result (no explicit time needed)
124
- 9. Result + Action (no explicit time needed)
125
- 10. Action + Time (no explicit result mentioned)
126
-
127
- Psychological Basis:
128
- - Clear actions generate quick responses.
129
- - Tangible results attract attention.
130
- - Urgency is effective when combined with specific time.
131
 
132
  EXAMPLES FOR FORMULA 3:
133
- Dale un click a ese botón y en 24 horas descubrirás por qué tu competencia está mordiendo almohadas.
134
- • En 7 días tu productividad será tan alta que tu cama te echará de menos. ¿Te atreves a descubrirlo?
135
- Tu competencia entrará en modo pánico en 24 horas. Descubre cómo mientras tomas tu café (descafeinado).
136
- • 48 horas y serás más productivo que un ejército de clones tuyos. ¿Listo para multiplicarte?
137
- Convierte tu caos en una sinfonía perfecta. Descubre cómo en 24 horas (director de orquesta no incluido).
 
 
 
 
138
 
139
  FORMULA 4 - NÚMERICA SUPREMA:
140
  La Fórmula Suprema de Istvanova combina 5 elementos clave más artículos plurales para crear bullets persuasivos e interesantes:
@@ -151,8 +144,8 @@ def create_bullet_instruction():
151
 
152
  3. Adjetivo (A):
153
  - Emocionales y descriptivos
154
- - Conectan con deseos/miedos
155
- - Ejemplos: poderosos, simples, efectivos, revolucionarios
156
 
157
  4. Palabra Clave (P):
158
  - Término central del beneficio en plural
@@ -160,38 +153,24 @@ def create_bullet_instruction():
160
  - Ejemplos: métodos, estrategias, técnicas, secretos
161
 
162
  5. Razón (R):
163
- - Justifica el beneficio
164
- - Añade credibilidad
165
- - Conecta con la motivación del lector
166
 
167
  6. Promesa (P):
168
- - Resultado específico y medible
169
- - Timeframe realista
170
- - Beneficio final atractivo
171
-
172
- Formatos:
173
- - Corto: Art plural + N + A + P + P
174
- - Medio: Art plural + N + A + P + R + P
175
- - Largo: Art plural + N + A + P + R detallada + P específica
176
-
177
- Consejos de uso:
178
- - Usa siempre la forma plural para mayor impacto
179
- - Alterna entre 'los' y 'las' según la palabra clave
180
- - Mantén coherencia en el género a lo largo del bullet
181
- - Combina artículos con números de forma natural
182
- - Asegura que la palabra clave esté en plural
183
 
184
  EXAMPLES FOR FORMULA 4:
185
- • Los 3 rituales probados para dormir mejor.
186
- • Las 5 rutinas efectivas para fortalecer tu core.
187
- • Los 7 hábitos esenciales para aumentar productividad.
188
- • Las 3 técnicas comprobadas para dormir mejor basadas en neurociencia.
189
- • Los 5 movimientos efectivos para fortalecer tu core sin equipamiento.
190
 
191
- Remember to choose just ONE formula and apply it consistently to all 5 bullets.
192
- """
 
 
 
193
 
194
- # Combine base instruction with formula instructions
195
- complete_instruction = base_instruction + formula_instructions
196
 
197
- return complete_instruction
 
1
  def create_bullet_instruction():
 
 
 
 
 
 
 
2
  # Base instruction that applies to all formulas
3
  base_instruction = """
4
  IMPORTANT: After creating the main offer, add a section with 5 powerful benefit bullets that reinforce the promise.
 
29
  - Use natural, conversational language (avoid formal or technical jargon)
30
 
31
  IMPORTANT:
32
+ - Each benefit must be ultra-specific with concrete, measurable outcomes
33
+ - NEVER use generic phrases like "mejorar tu vida" or "aumentar tu productividad"
34
+ - Always include specific numbers, percentages, or exact timeframes
35
+ - Each bullet must solve a very specific problem with a detailed solution
36
+ - Include at least one bullet that directly counters a common objection with evidence
37
+ - Each bullet should contain a clear call to action with a specific next step
38
+ - Avoid all generalizations - be precise about exactly what the user will get
39
+ - Maintain a persuasive but honest tone with verifiable claims
40
+ - Focus on tangible and measurable results that can be verified
41
+ - Ensure each bullet addresses a different aspect of the offer
42
  - Write in a natural, conversational tone as if speaking directly to the reader
43
  - Never use exclamation marks in the bullets
44
  """
 
48
  IMPORTANT: Choose ONE of the following bullet formulas at random and use it consistently for ALL 5 bullets:
49
 
50
  FORMULA 1 - STANDARD BENEFIT:
51
+ - Must be relevant to a specific segment of your target audience
52
+ - Must show a specific result with exact numbers or percentages
53
+ - Must include a precise emotional element tied to a specific desire
54
+ - Must eliminate a specific objection with evidence
55
+ - Must inspire immediate action with a clear next step
56
 
57
  EXAMPLE FORMAT FOR FORMULA 1:
58
+ •Transforma tu estrategia de email marketing con plantillas que aumentan la tasa de apertura un 37% en 14 días, incluso si nunca has escrito una campaña exitosa.
59
 
60
  FORMULA 2 - 3 EN 1 (FEATURE + BENEFIT + MEANING):
61
  Formula: [Feature + Benefit + Meaning]
62
 
63
  This formula creates an instant connection by linking three key elements:
64
+ 1. Feature: A specific, tangible characteristic of your offer
65
+ 2. Benefit: The exact, measurable result it delivers
66
+ 3. Meaning: The precise transformation in their life
67
 
68
  Instructions for Creating Connection Bullets:
69
  1. Identify Your Core Feature:
70
+ - What specific component makes your offer unique?
71
+ - What exact characteristic can be measured?
72
+ - What concrete element can they use immediately?
73
 
74
  2. Transform into Benefits:
75
+ - What specific metric will improve?
76
+ - What exact problem will it solve?
77
+ - What measurable outcome will they achieve?
78
 
79
  3. Add Deeper Meaning:
80
+ - How exactly will it transform their specific situation?
81
+ - What precise emotional impact will they experience?
82
+ - What concrete identity shift will occur?
83
 
84
  Structure Formats:
85
+ 1. "[Specific Feature] para que puedas [Measurable Benefit] con lo que [Concrete Meaning]"
86
+ 2. "Con [Specific Feature] podrás [Measurable Benefit] permitiéndote [Concrete Meaning]"
87
+ 3. "Gracias a [Specific Feature] lograrás [Measurable Benefit] haciendo que [Concrete Meaning]"
88
+ 4. "Mediante [Specific Feature] conseguirás [Measurable Benefit] lo que significa [Concrete Meaning]"
89
+ 5. "Usando [Specific Feature] alcanzarás [Measurable Benefit] transformando [Concrete Meaning]"
90
 
91
  EXAMPLES FOR FORMULA 2:
92
+ • El Sistema de inmersión bilingüe de 21 días para que puedas mantener conversaciones de 15 minutos en inglés con lo que por fin dejarás de depender de traductores en tus reuniones internacionales.
93
+
94
+ Con nuestro algoritmo de enfoque profundo de 3 pasos podrás completar proyectos en 4 horas en lugar de 8 permitiéndote disfrutar 20 horas adicionales semanales con tu familia.
95
+
96
+ Gracias a nuestra tecnología de reprogramación mental de 28 días lograrás superar el miedo a hablar en público haciendo que te sientas seguro al presentar ante audiencias de hasta 500 personas.
97
+
98
+ • Mediante nuestro framework de creatividad de 5 fases conseguirás generar 10 ideas innovadoras por sesión lo que significa que nunca más perderás oportunidades de negocio por falta de propuestas.
99
+
100
+ • Usando nuestro sistema de automatización de tareas alcanzarás una reducción del 68% en tiempo administrativo transformando 15 horas semanales de trabajo tedioso en tiempo productivo para hacer crecer tu negocio.
101
 
102
  FORMULA 3 - ANTI-PROCRASTINACIÓN (ACTION + RESULT + TIME):
103
  Formula: [Action + Result + Time]
 
105
  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.
106
 
107
  Instructions:
108
+ 1. Establish the clear action that the user must take (specific action with details)
109
+ 2. Define the exact result with numbers/percentages that the user will obtain
110
+ 3. Indicate the precise time period with exact days/weeks/months
111
 
112
  Response Format (choose one for each bullet):
113
  1. Action + Result + Time
 
117
  5. Time + Action + Result
118
  6. Time + Result + Action
119
  7. Result + Time + Action
 
 
 
 
 
 
 
 
120
 
121
  EXAMPLES FOR FORMULA 3:
122
+ Implementa nuestra estrategia de email marketing y aumenta tus ventas un 27% en los próximos 30 días, incluso si tu lista tiene menos de 500 suscriptores.
123
+
124
+ Aplica las 3 técnicas de copywriting en tus próximos 5 posts y en 14 días verás un incremento del 42% en engagement, eliminando por completo los comentarios negativos.
125
+
126
+ Tu tasa de conversión aumentará del 2% al 5.7% cuando implementes nuestro sistema de embudos en los próximos 21 días, sin necesidad de aumentar tu presupuesto publicitario.
127
+
128
+ • En 28 días exactos dominarás las 7 habilidades fundamentales de negociación aplicando nuestro método paso a paso, incluso si actualmente cedes en cada discusión.
129
+
130
+ • 8 semanas es todo lo que necesitas para transformar tu cuerpo con nuestro programa de 15 minutos diarios, reduciendo hasta 8 kg de grasa y aumentando tu energía un 65% desde la primera semana.
131
 
132
  FORMULA 4 - NÚMERICA SUPREMA:
133
  La Fórmula Suprema de Istvanova combina 5 elementos clave más artículos plurales para crear bullets persuasivos e interesantes:
 
144
 
145
  3. Adjetivo (A):
146
  - Emocionales y descriptivos
147
+ - Conectan con deseos/miedos específicos
148
+ - Ejemplos: comprobados, científicos, revolucionarios
149
 
150
  4. Palabra Clave (P):
151
  - Término central del beneficio en plural
 
153
  - Ejemplos: métodos, estrategias, técnicas, secretos
154
 
155
  5. Razón (R):
156
+ - Justifica el beneficio con datos concretos
157
+ - Añade credibilidad con evidencia específica
158
+ - Conecta con la motivación específica del lector
159
 
160
  6. Promesa (P):
161
+ - Resultado específico y medible con números
162
+ - Timeframe realista con días/semanas exactas
163
+ - Beneficio final atractivo y verificable
 
 
 
 
 
 
 
 
 
 
 
 
164
 
165
  EXAMPLES FOR FORMULA 4:
166
+ • Los 3 rituales científicamente probados para reducir tu estrés un 47% en 14 días, validados por la Universidad de Stanford.
 
 
 
 
167
 
168
+ Las 5 rutinas efectivas para fortalecer tu core en solo 12 minutos diarios, eliminando el dolor lumbar en el 89% de los casos.
169
+
170
+ • Los 7 hábitos esenciales para aumentar tu productividad un 63%, permitiéndote completar en 4 horas lo que antes hacías en 8.
171
+
172
+ • Las 3 técnicas comprobadas para dormir 7 horas ininterrumpidas basadas en neurociencia, que han ayudado a 1,243 personas con insomnio crónico.
173
 
174
+ Los 5 movimientos efectivos para fortalecer tu core sin equipamiento, que activan un 78% más de fibras musculares que los ejercicios tradicionales.
 
175
 
176
+ Remember to choose just ONE formula and apply it consistently to all 5 bullets.