Spaces:
Sleeping
Sleeping
Update format/format.py
Browse files- format/format.py +180 -124
format/format.py
CHANGED
@@ -33,39 +33,7 @@ buyer_persona_formats = {
|
|
33 |
**Lo que realmente quiere**: [lo que realmente quiere]
|
34 |
""",
|
35 |
|
36 |
-
|
37 |
-
"base_format_without_consciousness": """
|
38 |
-
La persona **"[nombre del avatar]"** es **[género]** entre **[rango de edad]** que busca [lo que está buscando]. Es [lo que es y quiere].
|
39 |
-
|
40 |
-
**Personalidad**: [su tipo de personalidad]
|
41 |
-
|
42 |
-
**Valores**: [lo que valora]
|
43 |
-
|
44 |
-
**Qué le emociona**: [lo que le emociona]
|
45 |
-
|
46 |
-
**¿Cómo es?**: [cómo es]
|
47 |
-
|
48 |
-
**Miedos**: [sus miedos]
|
49 |
-
|
50 |
-
**Inseguridades**: [sus inseguridades]
|
51 |
-
|
52 |
-
**Culpa**: [su culpa]
|
53 |
-
|
54 |
-
**Problemas**: [sus problemas]
|
55 |
-
|
56 |
-
**Frustraciones**: [sus frustraciones]
|
57 |
-
|
58 |
-
**¿En qué está dispuesto/a a invertir?**: [en qué está dispuesto/a a invertir]
|
59 |
-
|
60 |
-
**Intereses**: [sus intereses]
|
61 |
-
|
62 |
-
**Deseos**: [sus deseos]
|
63 |
-
|
64 |
-
**Lo que realmente quiere**: [lo que realmente quiere]
|
65 |
-
""",
|
66 |
-
|
67 |
-
# El resto del código permanece igual
|
68 |
-
"example": """
|
69 |
La persona **"Emprendedora Inspirada"** es una **mujer** entre **30 y 40 años** que busca alcanzar el éxito tanto en su vida personal como profesional. Es una **emprendedora independiente** que constantemente se esfuerza por construir su marca y hacer crecer su negocio, pero también está abierta a colaborar con otros para lograr sus objetivos.
|
70 |
|
71 |
**Personalidad**: MAGA (MAG)
|
@@ -118,100 +86,188 @@ buyer_persona_formats = {
|
|
118 |
""",
|
119 |
|
120 |
"bullet_format": """
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
Example:
|
125 |
-
Miedos:
|
126 |
-
• Miedo a quedarse atrás en el mercado por no dominar nuevas tecnologías.
|
127 |
-
|
128 |
-
• Temor a perder oportunidades de negocio por barreras de comunicación.
|
129 |
-
|
130 |
-
• Preocupación por no poder expandir su empresa internacionalmente.
|
131 |
-
|
132 |
-
The correct format is (note the empty line between each bullet point):
|
133 |
-
Culpa:
|
134 |
-
• Se siente culpable por no pasar suficiente tiempo con su hijo debido al trabajo.
|
135 |
-
|
136 |
-
• Siente remordimiento por no haber aprendido inglés antes y ahora tener que hacerlo a la fuerza.
|
137 |
-
|
138 |
-
• Experimenta culpa al gastar dinero en un curso de inglés en lugar de en otras necesidades de su hijo.
|
139 |
-
|
140 |
-
• Se siente mal por no poder ayudar a su hijo con sus tareas de inglés.
|
141 |
-
|
142 |
-
DO NOT use this incorrect format (without paragraph breaks):
|
143 |
-
Inseguridades: • Primera inseguridad • Segunda inseguridad • Tercera inseguridad
|
144 |
-
|
145 |
-
ALSO DO NOT use this incorrect format (without empty lines between items):
|
146 |
-
Problemas:
|
147 |
-
• Tiene dificultades para encontrar tiempo para estudiar inglés debido a su trabajo y responsabilidades familiares.
|
148 |
-
• Se siente abrumado por la cantidad de información y recursos disponibles para aprender inglés.
|
149 |
-
• Le resulta difícil concentrarse y mantenerse motivado para estudiar después de un largo día de trabajo.
|
150 |
-
|
151 |
-
ENSURE there is an EMPTY LINE between each bullet point to create proper paragraph separation.
|
152 |
-
DO NOT use hyphens (-) or numbers for these lists.
|
153 |
-
|
154 |
-
\n\nABSOLUTELY CRITICAL - CONSCIOUSNESS LEVEL HANDLING:
|
155 |
-
1. If the user selects EXACTLY "Ninguno" (and ONLY this exact value), you MUST completely OMIT the "Nivel de conciencia" section from your response.
|
156 |
-
|
157 |
-
2. For ALL other consciousness levels, including "Nivel 1 - Desconocido", you MUST INCLUDE the "Nivel de conciencia" section with the appropriate level.
|
158 |
-
|
159 |
-
3. IMPORTANT: "Nivel 1 - Desconocido" is NOT the same as "Ninguno". If "Nivel 1 - Desconocido" is selected, you MUST include the consciousness level section with "Desconocido" as the level.
|
160 |
-
|
161 |
-
4. The consciousness level mapping is:
|
162 |
-
- If user selects "Ninguno" → OMIT the section completely
|
163 |
-
- If user selects "Nivel 1 - Desconocido" → Use "Desconocido" in your response
|
164 |
-
- If user selects "Consciente del problema" → Use "Consciente del problema" in your response
|
165 |
-
- If user selects "Consciente de la solución" → Use "Consciente de la solución" in your response
|
166 |
-
- If user selects "Consciente del producto" → Use "Consciente del producto" in your response
|
167 |
-
- If user selects "Consciente de la compra" → Use "Consciente de la compra" in your response
|
168 |
-
|
169 |
-
5. For "Nivel 1 - Desconocido", the section should look like:
|
170 |
-
**Nivel de conciencia**: Desconocido - [explanation consistent with that level]
|
171 |
-
|
172 |
-
6. When the user selects "Ninguno", your response should NOT contain any line starting with "**Nivel de conciencia**". Skip directly from "**¿Cómo es?**" to "**Miedos**" without any mention of consciousness level.
|
173 |
-
"""
|
174 |
-
}
|
175 |
|
176 |
-
|
|
|
|
|
177 |
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
],
|
192 |
"format": """
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
}
|
207 |
|
208 |
-
|
209 |
-
"""
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
**Lo que realmente quiere**: [lo que realmente quiere]
|
34 |
""",
|
35 |
|
36 |
+
"example": """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
La persona **"Emprendedora Inspirada"** es una **mujer** entre **30 y 40 años** que busca alcanzar el éxito tanto en su vida personal como profesional. Es una **emprendedora independiente** que constantemente se esfuerza por construir su marca y hacer crecer su negocio, pero también está abierta a colaborar con otros para lograr sus objetivos.
|
38 |
|
39 |
**Personalidad**: MAGA (MAG)
|
|
|
86 |
""",
|
87 |
|
88 |
"bullet_format": """
|
89 |
+
\n\nIMPORTANT - LIST FORMAT:
|
90 |
+
For the sections of Fears, Insecurities, Guilt, Problems, and Frustrations, use BULLET POINTS (•) with PROPER PARAGRAPH BREAKS after each item.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
+
Example:
|
93 |
+
Miedos:
|
94 |
+
• Miedo a quedarse atrás en el mercado por no dominar nuevas tecnologías.
|
95 |
|
96 |
+
• Temor a perder oportunidades de negocio por barreras de comunicación.
|
97 |
+
|
98 |
+
• Preocupación por no poder expandir su empresa internacionalmente.
|
99 |
+
|
100 |
+
The correct format is (note the empty line between each bullet point):
|
101 |
+
Culpa:
|
102 |
+
• Se siente culpable por no pasar suficiente tiempo con su hijo debido al trabajo.
|
103 |
+
|
104 |
+
• Siente remordimiento por no haber aprendido inglés antes y ahora tener que hacerlo a la fuerza.
|
105 |
+
|
106 |
+
• Experimenta culpa al gastar dinero en un curso de inglés en lugar de en otras necesidades de su hijo.
|
107 |
+
|
108 |
+
• Se siente mal por no poder ayudar a su hijo con sus tareas de inglés.
|
109 |
+
|
110 |
+
DO NOT use this incorrect format (without paragraph breaks):
|
111 |
+
Inseguridades: • Primera inseguridad • Segunda inseguridad • Tercera inseguridad
|
112 |
+
|
113 |
+
ALSO DO NOT use this incorrect format (without empty lines between items):
|
114 |
+
Problemas:
|
115 |
+
• Tiene dificultades para encontrar tiempo para estudiar inglés debido a su trabajo y responsabilidades familiares.
|
116 |
+
• Se siente abrumado por la cantidad de información y recursos disponibles para aprender inglés.
|
117 |
+
• Le resulta difícil concentrarse y mantenerse motivado para estudiar después de un largo día de trabajo.
|
118 |
+
|
119 |
+
ENSURE there is an EMPTY LINE between each bullet point to create proper paragraph separation.
|
120 |
+
DO NOT use hyphens (-) or numbers for these lists.
|
121 |
+
|
122 |
+
\n\nABSOLUTELY CRITICAL - CONSCIOUSNESS LEVEL MAPPING:
|
123 |
+
You MUST use the EXACT consciousness level from this mapping:
|
124 |
+
|
125 |
+
- If user selects "Ninguno" → Use "Desconocido" in your response
|
126 |
+
- If user selects "Consciente del problema" → Use "Consciente del problema" in your response
|
127 |
+
- If user selects "Consciente de la solución" → Use "Consciente de la solución" in your response
|
128 |
+
- If user selects "Consciente del producto" → Use "Consciente del producto" in your response
|
129 |
+
- If user selects "Consciente de la compra" → Use "Consciente de la compra" in your response
|
130 |
+
|
131 |
+
DO NOT DEVIATE from this mapping under any circumstances.
|
132 |
+
|
133 |
+
For "Desconocido" level:
|
134 |
+
- The person is completely unaware they have a problem
|
135 |
+
- They don't recognize any need for change
|
136 |
+
- They are not actively looking for solutions
|
137 |
+
- Their fears and frustrations exist but they don't connect them to this specific problem
|
138 |
+
|
139 |
+
For "Consciente del problema" level:
|
140 |
+
- The person knows they have a problem
|
141 |
+
- They feel the pain and recognize the issue
|
142 |
+
- They don't yet know what solutions exist
|
143 |
+
- They are beginning to research and understand their problem
|
144 |
+
|
145 |
+
For "Consciente de la solución" level:
|
146 |
+
- The person knows what type of solution they need
|
147 |
+
- They are actively comparing different options
|
148 |
+
- They understand how solutions work but haven't chosen one
|
149 |
+
- They are evaluating features, benefits, and pricing
|
150 |
+
|
151 |
+
For "Consciente del producto" level:
|
152 |
+
- The person knows about your specific product/service
|
153 |
+
- They are considering it but haven't decided to purchase
|
154 |
+
- They may have objections or concerns about your offering
|
155 |
+
- They need convincing about your specific solution
|
156 |
+
|
157 |
+
For "Consciente de la compra" level:
|
158 |
+
- The person is ready to buy
|
159 |
+
- They need a final push or incentive
|
160 |
+
- They are looking for validation of their decision
|
161 |
+
- They may need help with the purchasing process
|
162 |
+
|
163 |
+
The "Nivel de conciencia" section in your response MUST follow this exact format:
|
164 |
+
**Nivel de conciencia**: [EXACT MAPPED LEVEL] - [explanation consistent with that level]
|
165 |
+
|
166 |
+
ALL other aspects of the persona (fears, problems, etc.) MUST be consistent with the specified consciousness level.
|
167 |
+
"""
|
168 |
+
}
|
169 |
+
|
170 |
+
what_we_really_want = {
|
171 |
+
"list": [
|
172 |
+
"Increase our potential",
|
173 |
+
"Escape danger",
|
174 |
+
"Free ourselves from fear and guilt",
|
175 |
+
"Silence those who doubt us",
|
176 |
+
"Validate our feelings",
|
177 |
+
"Power over others",
|
178 |
+
"Advantages over our rivals",
|
179 |
+
"Be free from the consequences",
|
180 |
+
"Have more time dedicated to what we love",
|
181 |
+
"Less time dedicated to what we hate",
|
182 |
+
"Happiness and satisfaction",
|
183 |
+
"Prove we are right",
|
184 |
+
"Prove our detractors wrong",
|
185 |
+
"Be attractive and charming to others",
|
186 |
+
"Leave a lasting legacy",
|
187 |
+
"Higher status among our peers",
|
188 |
+
"Have a life full of comforts and luxuries",
|
189 |
+
"Be accepted by a social group or community",
|
190 |
+
"Be respected and admired for our intelligence, skills, or talents",
|
191 |
+
"Be true to ourselves and reach our full potential",
|
192 |
+
"Climb the social hierarchy",
|
193 |
+
"Establish close and lasting relationships with friends and family",
|
194 |
+
"Feel part of a group or community and be valued and appreciated by others",
|
195 |
+
"Be appreciated for our actions and receive gratitude from others"
|
196 |
],
|
197 |
"format": """
|
198 |
+
**[WHAT WE REALLY WANT]**
|
199 |
+
- Increase our potential
|
200 |
+
- Escape danger
|
201 |
+
- Free ourselves from fear and guilt
|
202 |
+
- Silence those who doubt us
|
203 |
+
- Validate our feelings
|
204 |
+
- Power over others
|
205 |
+
- Advantages over our rivals
|
206 |
+
- Be free from the consequences
|
207 |
+
- Have more time dedicated to what we love
|
208 |
+
- Less time dedicated to what we hate
|
209 |
+
- Happiness and satisfaction
|
210 |
+
- Prove we are right
|
211 |
+
- Prove our detractors wrong
|
212 |
+
- Be attractive and charming to others
|
213 |
+
- Leave a lasting legacy
|
214 |
+
- Higher status among our peers
|
215 |
+
- Have a life full of comforts and luxuries
|
216 |
+
- Be accepted by a social group or community
|
217 |
+
- Be respected and admired for our intelligence, skills, or talents
|
218 |
+
- Be true to ourselves and reach our full potential
|
219 |
+
- Climb the social hierarchy
|
220 |
+
- Establish close and lasting relationships with friends and family
|
221 |
+
- Feel part of a group or community and be valued and appreciated by others
|
222 |
+
- Be appreciated for our actions and receive gratitude from others
|
223 |
+
"""
|
224 |
}
|
225 |
|
226 |
+
validation_questions = {
|
227 |
+
"buyer_persona": """
|
228 |
+
---
|
229 |
+
**Validation Questions for Your Ideal Customer Profile:**
|
230 |
+
|
231 |
+
Have you addressed these essential aspects in your buyer persona?
|
232 |
+
|
233 |
+
1. **Demographics and Background:**
|
234 |
+
- Have you defined their age, gender, education level, and location?
|
235 |
+
- What is their current occupation and professional background?
|
236 |
+
- What is their socioeconomic status and lifestyle?
|
237 |
+
|
238 |
+
2. **Psychographics and Values:**
|
239 |
+
- What are their core values and beliefs?
|
240 |
+
- What aspirations drive their decisions?
|
241 |
+
- Which activities and interests align with your offering?
|
242 |
+
- How do their interests overlap with your expertise?
|
243 |
+
|
244 |
+
3. **Problems and Needs:**
|
245 |
+
- What specific problems are they trying to solve?
|
246 |
+
- Which pain points are most urgent for them?
|
247 |
+
- What frustrations are driving them to seek a solution?
|
248 |
+
- How does your solution address their specific challenges?
|
249 |
+
|
250 |
+
4. **Purchase Behavior:**
|
251 |
+
- What is their typical budget for similar solutions?
|
252 |
+
- How do they evaluate purchase decisions?
|
253 |
+
- What factors influence their buying choices?
|
254 |
+
- Are they willing to invest in premium solutions?
|
255 |
+
|
256 |
+
5. **Decision-Making Process:**
|
257 |
+
- Do they research thoroughly before buying?
|
258 |
+
- What information sources do they trust?
|
259 |
+
- How do reviews and recommendations influence them?
|
260 |
+
- What convinces them of a product's value?
|
261 |
+
|
262 |
+
6. **Consciousness Level:**
|
263 |
+
- Does the avatar clearly reflect one of the five consciousness levels?
|
264 |
+
- Are their fears, problems, and frustrations consistent with their consciousness level?
|
265 |
+
- Does their language and way of expressing themselves correspond to their consciousness level about the problem?
|
266 |
+
- Are their objections and doubts appropriate for their consciousness level?
|
267 |
+
- Is the type of information they seek consistent with their consciousness level?
|
268 |
+
- Do their decision criteria adequately reflect their consciousness level?
|
269 |
+
|
270 |
+
Ensure your buyer persona thoroughly addresses these questions to create an accurate profile of someone who will value and invest in your offering.
|
271 |
+
---
|
272 |
+
"""
|
273 |
+
}
|