JeCabrera commited on
Commit
e8eb78c
verified
1 Parent(s): 57be20f

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +31 -29
prompts.py CHANGED
@@ -49,9 +49,7 @@ STEPS TO COMPLETE THE TASK:
49
  Give the reasons why they want what they want. Use **[WHAT WE REALLY WANT]** to answer that section.
50
  Use Markdown formatting for the presentation.
51
  THE ENTIRE RESPONSE MUST BE IN SPANISH, especially the section "Lo que realmente quiere".
52
- For the section "Lo que realmente quiere" (What they really want), identify and focus on THE SINGLE MOST IMPORTANT underlying desire that drives this avatar. Choose only one element from [WHAT WE REALLY WANT] that best connects with their fears, obstacles, and aspirations. Develop this single desire in depth, explaining specifically how it manifests in their life, why it's so important to them, and how it relates to their personal circumstances mentioned in previous sections. Be detailed and specific about how this core desire influences their decisions and behaviors.
53
-
54
- This prompt ensures the ideal customer aligns with your interests and skills and will be a good prospect for your products/services."""
55
 
56
  def create_instruction(product_service, skills, target_audience=None, gender=None, consciousness_level="Ninguno", format_type="base_format"):
57
  """
@@ -87,11 +85,33 @@ def create_instruction(product_service, skills, target_audience=None, gender=Non
87
 
88
  For the section "Lo que realmente quiere" (What they really want), identify and focus on THE SINGLE MOST IMPORTANT underlying desire that drives this avatar. Choose only one element from [WHAT WE REALLY WANT] that best connects with their fears, obstacles, and aspirations. Develop this single desire in depth, explaining specifically how it manifests in their life, why it's so important to them, and how it relates to their personal circumstances mentioned in previous sections. Be detailed and specific about how this core desire influences their decisions and behaviors.
89
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  else:
91
  what_we_want = ""
92
  what_we_want_instruction = """
93
- IMPORTANT: Do NOT include a "Lo que realmente quiere" section in this format.
94
  """
 
95
 
96
  validation = validation_questions["buyer_persona"]
97
 
@@ -160,28 +180,6 @@ def create_instruction(product_service, skills, target_audience=None, gender=Non
160
  This awareness level must COMPLETELY DETERMINE how the ideal customer thinks, feels, and acts.
161
  ADAPT THE ENTIRE PROFILE (especially their fears, frustrations, problems, and insecurities) to
162
  consistently reflect this level of awareness.
163
- """
164
-
165
- # Modificar el formato para la secci贸n "Lo que realmente quiere"
166
- desire_format = """
167
- \n\nFor the section "Lo que realmente quiere", structure the response as follows:
168
-
169
- **Lo que realmente quiere:**
170
-
171
- **Su gran deseo profundo:** [Develop here in a paragraph the most important underlying desire that drives this person at a deep emotional level. This should be different from the surface-level desires listed in the "Deseos" section. Explain its emotional importance and how it connects with their fears and aspirations]
172
-
173
- **Sus 7 motivaciones ocultas:**
174
- 1. [First hidden motivation]
175
- 2. [Second hidden motivation]
176
- 3. [Third hidden motivation]
177
- 4. [Fourth hidden motivation]
178
- 5. [Fifth hidden motivation]
179
- 6. [Sixth hidden motivation]
180
- 7. [Seventh hidden motivation]
181
-
182
- IMPORTANT: The "Deseos" section should list what the person consciously wants and openly expresses. In contrast, "Lo que realmente quiere" should reveal the deeper psychological motivations that they may not even be fully aware of themselves.
183
-
184
- Select these deeper motivations from the list provided in the reference, choosing those that best connect with the profile.
185
  """
186
 
187
  # Construir las instrucciones completas
@@ -206,11 +204,15 @@ Aqu铆 tienes un ejemplo de c贸mo deber铆a ser el perfil:
206
 
207
  {example}
208
 
209
- Para la secci贸n "Lo que realmente quiere", utiliza esta lista como referencia:
210
-
211
- {what_we_want}
212
 
213
  {validation}
 
 
 
 
 
 
214
  """
215
 
216
  return instructions
 
49
  Give the reasons why they want what they want. Use **[WHAT WE REALLY WANT]** to answer that section.
50
  Use Markdown formatting for the presentation.
51
  THE ENTIRE RESPONSE MUST BE IN SPANISH, especially the section "Lo que realmente quiere".
52
+ For the section "Lo que realmente quiere" (What they really want), identify and focus on THE SINGLE MOST IMPORTANT underlying desire that drives this avatar. Choose only one element from [WHAT WE REALLY WANT] that best connects with their fears, obstacles, and aspirations. Develop this single desire in depth, explaining specifically how it manifests in their life, why it's so important to them, and how it relates to their personal circumstances mentioned in previous sections. Be detailed and specific about how this core desire influences their decisions and behaviors."""
 
 
53
 
54
  def create_instruction(product_service, skills, target_audience=None, gender=None, consciousness_level="Ninguno", format_type="base_format"):
55
  """
 
85
 
86
  For the section "Lo que realmente quiere" (What they really want), identify and focus on THE SINGLE MOST IMPORTANT underlying desire that drives this avatar. Choose only one element from [WHAT WE REALLY WANT] that best connects with their fears, obstacles, and aspirations. Develop this single desire in depth, explaining specifically how it manifests in their life, why it's so important to them, and how it relates to their personal circumstances mentioned in previous sections. Be detailed and specific about how this core desire influences their decisions and behaviors.
87
  """
88
+ # Solo incluir el formato de deseo para el formato base
89
+ desire_format = """
90
+ \n\nFor the section "Lo que realmente quiere", structure the response as follows:
91
+
92
+ **Lo que realmente quiere:**
93
+
94
+ **Su gran deseo profundo:** [Develop here in a paragraph the most important underlying desire that drives this person at a deep emotional level. This should be different from the surface-level desires listed in the "Deseos" section. Explain its emotional importance and how it connects with their fears and aspirations]
95
+
96
+ **Sus 7 motivaciones ocultas:**
97
+ 1. [First hidden motivation]
98
+ 2. [Second hidden motivation]
99
+ 3. [Third hidden motivation]
100
+ 4. [Fourth hidden motivation]
101
+ 5. [Fifth hidden motivation]
102
+ 6. [Sixth hidden motivation]
103
+ 7. [Seventh hidden motivation]
104
+
105
+ IMPORTANT: The "Deseos" section should list what the person consciously wants and openly expresses. In contrast, "Lo que realmente quiere" should reveal the deeper psychological motivations that they may not even be fully aware of themselves.
106
+
107
+ Select these deeper motivations from the list provided in the reference, choosing those that best connect with the profile.
108
+ """
109
  else:
110
  what_we_want = ""
111
  what_we_want_instruction = """
112
+ IMPORTANT: Do NOT include a "Lo que realmente quiere" section in this format. This format does not require this section.
113
  """
114
+ desire_format = ""
115
 
116
  validation = validation_questions["buyer_persona"]
117
 
 
180
  This awareness level must COMPLETELY DETERMINE how the ideal customer thinks, feels, and acts.
181
  ADAPT THE ENTIRE PROFILE (especially their fears, frustrations, problems, and insecurities) to
182
  consistently reflect this level of awareness.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  """
184
 
185
  # Construir las instrucciones completas
 
204
 
205
  {example}
206
 
207
+ {what_we_want if format_type == "base_format" else ""}
 
 
208
 
209
  {validation}
210
+ """
211
+
212
+ # A帽adir instrucci贸n expl铆cita para formatos que no son base_format
213
+ if format_type != "base_format":
214
+ instructions += """
215
+ \n\nIMPORTANTE: Este formato NO debe incluir la secci贸n "Lo que realmente quiere". Sigue estrictamente el formato proporcionado sin a帽adir secciones adicionales.
216
  """
217
 
218
  return instructions