JeCabrera commited on
Commit
e31670f
·
verified ·
1 Parent(s): ae84f0d

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +9 -8
prompts.py CHANGED
@@ -53,11 +53,11 @@ STEPS TO COMPLETE THE TASK:
53
  THE ENTIRE RESPONSE MUST BE IN SPANISH, especially the section "Lo que realmente quiere".
54
  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."""
55
 
56
- def create_instruction(formato, producto, habilidades, nivel_conciencia):
57
  # Obtener el formato específico del diccionario de formatos
58
  from format.format import buyer_persona_formats, bullet_format_instructions, consciousness_level_instructions, what_we_really_want, gran_deseo_secreto_guide
59
 
60
- format_data = buyer_persona_formats.get(formato, {})
61
  template = format_data.get("template", "")
62
  example = format_data.get("example", "")
63
  questions = format_data.get("questions", "")
@@ -66,11 +66,11 @@ def create_instruction(formato, producto, habilidades, nivel_conciencia):
66
  instruction = f"""
67
  Actúa como un experto en marketing y psicología del consumidor. Crea un perfil detallado del cliente ideal para el siguiente producto o servicio:
68
 
69
- PRODUCTO/SERVICIO: {producto}
70
 
71
- HABILIDADES DEL PROVEEDOR: {habilidades}
72
 
73
- NIVEL DE CONCIENCIA DEL CLIENTE: {nivel_conciencia}
74
 
75
  Utiliza el siguiente formato:
76
  {template}
@@ -89,10 +89,11 @@ def create_instruction(formato, producto, habilidades, nivel_conciencia):
89
  {gran_deseo_secreto_guide}
90
 
91
  Al crear el Gran Deseo Secreto, asegúrate de:
92
- 1. Considerar el nivel de conciencia "{nivel_conciencia}" del cliente
93
- 2. Relacionarlo con el producto/servicio: "{producto}"
94
- 3. Incorporar las habilidades del proveedor: "{habilidades}"
95
  4. Crear una tensión emocional profunda que el producto/servicio pueda resolver
 
96
 
97
  Lo que realmente queremos (motivaciones profundas):
98
  {what_we_really_want["format"]}
 
53
  THE ENTIRE RESPONSE MUST BE IN SPANISH, especially the section "Lo que realmente quiere".
54
  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."""
55
 
56
+ def create_instruction(format_type, product_service, skills, consciousness_level, target_audience=None, gender=None):
57
  # Obtener el formato específico del diccionario de formatos
58
  from format.format import buyer_persona_formats, bullet_format_instructions, consciousness_level_instructions, what_we_really_want, gran_deseo_secreto_guide
59
 
60
+ format_data = buyer_persona_formats.get(format_type, {})
61
  template = format_data.get("template", "")
62
  example = format_data.get("example", "")
63
  questions = format_data.get("questions", "")
 
66
  instruction = f"""
67
  Actúa como un experto en marketing y psicología del consumidor. Crea un perfil detallado del cliente ideal para el siguiente producto o servicio:
68
 
69
+ PRODUCTO/SERVICIO: {product_service}
70
 
71
+ HABILIDADES DEL PROVEEDOR: {skills}
72
 
73
+ NIVEL DE CONCIENCIA DEL CLIENTE: {consciousness_level}
74
 
75
  Utiliza el siguiente formato:
76
  {template}
 
89
  {gran_deseo_secreto_guide}
90
 
91
  Al crear el Gran Deseo Secreto, asegúrate de:
92
+ 1. Considerar el nivel de conciencia "{consciousness_level}" del cliente
93
+ 2. Relacionarlo con el producto/servicio: "{product_service}"
94
+ 3. Incorporar las habilidades del proveedor: "{skills}"
95
  4. Crear una tensión emocional profunda que el producto/servicio pueda resolver
96
+ 5. Alinearlo con las características específicas del público objetivo{f': {target_audience}' if target_audience else ''}
97
 
98
  Lo que realmente queremos (motivaciones profundas):
99
  {what_we_really_want["format"]}