JeCabrera commited on
Commit
26a011c
verified
1 Parent(s): 0d656b9

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +7 -2
prompts.py CHANGED
@@ -176,12 +176,17 @@ Ensure your buyer persona thoroughly addresses these questions to create an accu
176
  ---
177
 
178
  This prompt ensures the ideal customer aligns with your interests and skills and will be a good prospect for your products/services."""
179
- def create_instruction(product_service, skills):
 
 
 
 
 
180
  return (
181
  f"{system_prompt}\n\n"
182
  f"Create a detailed buyer persona for someone who would be interested in {product_service} "
183
  f"and would resonate with my skills in {skills}. Focus on identifying the ideal customer "
184
- f"who would value both the offering and my expertise.\n\n"
185
  f"Follow the format specified below, which integrates the Jungian archetypes more deeply into the persona structure. "
186
  f"Use the [EXAMPLE] as your base format but enhance it with the following structure:\n\n"
187
  f"**[FORMAT]**\n"
 
176
  ---
177
 
178
  This prompt ensures the ideal customer aligns with your interests and skills and will be a good prospect for your products/services."""
179
+ def create_instruction(product_service, skills, target_audience=None):
180
+ # Preparar la informaci贸n del p煤blico objetivo si se proporciona
181
+ target_audience_info = ""
182
+ if target_audience:
183
+ target_audience_info = f"\n\nEl p煤blico objetivo espec铆fico es: {target_audience}. Aseg煤rate de que el perfil del cliente ideal se alinee con este p煤blico objetivo."
184
+
185
  return (
186
  f"{system_prompt}\n\n"
187
  f"Create a detailed buyer persona for someone who would be interested in {product_service} "
188
  f"and would resonate with my skills in {skills}. Focus on identifying the ideal customer "
189
+ f"who would value both the offering and my expertise.{target_audience_info}\n\n"
190
  f"Follow the format specified below, which integrates the Jungian archetypes more deeply into the persona structure. "
191
  f"Use the [EXAMPLE] as your base format but enhance it with the following structure:\n\n"
192
  f"**[FORMAT]**\n"