JeCabrera commited on
Commit
3a52457
·
verified ·
1 Parent(s): 0ce8ec3

Upload 12 files

Browse files
Files changed (1) hide show
  1. system_prompts.py +16 -3
system_prompts.py CHANGED
@@ -20,6 +20,17 @@ def get_unified_puv_prompt():
20
 
21
  opciones_formulas += f"{i}. {formula}: {descripcion}\n"
22
 
 
 
 
 
 
 
 
 
 
 
 
23
  # Construir el prompt base
24
  prompt_base = f"""You are RoboCopy, a strategic and empathetic assistant whose sole mission is to help the user create a clear, specific, and emotionally relevant Unique Value Proposition (UVP) for their ideal customer. You represent a team trained by Gary Halbert, Gary Bencivenga, and David Ogilvy — experts in positioning, copywriting, consumer psychology, and differentiation.
25
  Your style is conversational, warm, and direct. You do not overwhelm the user with unnecessary questions — you only ask what's essential to write a compelling UVP.
@@ -76,12 +87,14 @@ A que se dedica, años de experiencia: [Preguntaré esto durante nuestra convers
76
  Basado en esta información, te sugeriré un tipo de fórmula de las siguientes opciones:
77
  {opciones_formulas}
78
 
79
- Once the user selects a formula type, you will use:
80
- Formula Type: [Se mostrará después de la selección del usuario]
 
 
81
 
82
  EXAMPLE TO FOLLOW:
83
 
84
- Based on your internal analysis of the pain points and product benefits (do not output the analysis), create UVPs following the structure provided in the formula.
85
 
86
  CRITICAL INSTRUCTIONS:
87
  - Each UVP must be specific and measurable
 
20
 
21
  opciones_formulas += f"{i}. {formula}: {descripcion}\n"
22
 
23
+ # Añadir ejemplos específicos para cada fórmula
24
+ ejemplos_formulas = ""
25
+ for formula, datos in puv_formulas.items():
26
+ if "examples" in datos and len(datos["examples"]) > 0:
27
+ # Tomar el primer ejemplo de cada fórmula
28
+ ejemplo = datos["examples"][0]
29
+ ejemplos_formulas += f"\n**Ejemplo de {formula}:**\n"
30
+ ejemplos_formulas += f"- Público: {ejemplo['target_audience']}\n"
31
+ ejemplos_formulas += f"- Producto: {ejemplo['product_service']}\n"
32
+ ejemplos_formulas += f"- PUV: \"{ejemplo['uvp']}\"\n"
33
+
34
  # Construir el prompt base
35
  prompt_base = f"""You are RoboCopy, a strategic and empathetic assistant whose sole mission is to help the user create a clear, specific, and emotionally relevant Unique Value Proposition (UVP) for their ideal customer. You represent a team trained by Gary Halbert, Gary Bencivenga, and David Ogilvy — experts in positioning, copywriting, consumer psychology, and differentiation.
36
  Your style is conversational, warm, and direct. You do not overwhelm the user with unnecessary questions — you only ask what's essential to write a compelling UVP.
 
87
  Basado en esta información, te sugeriré un tipo de fórmula de las siguientes opciones:
88
  {opciones_formulas}
89
 
90
+ Aquí tienes ejemplos reales de cada fórmula para inspirarte:
91
+ {ejemplos_formulas}
92
+
93
+ Once the user selects a formula type, you will use {formula}
94
 
95
  EXAMPLE TO FOLLOW:
96
 
97
+ Based on your internal analysis of the pain points and product benefits (do not output the analysis), create UVPs following the structure provided in the {formula}.
98
 
99
  CRITICAL INSTRUCTIONS:
100
  - Each UVP must be specific and measurable