Spaces:
Paused
Paused
Update prompts.py
Browse files- prompts.py +9 -2
prompts.py
CHANGED
|
@@ -115,8 +115,15 @@ Select these deeper motivations from the list provided in the reference, choosin
|
|
| 115 |
|
| 116 |
validation = validation_questions["buyer_persona"]
|
| 117 |
|
| 118 |
-
#
|
| 119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
# Obtener el prompt principal pero modificarlo según el formato
|
| 122 |
system_prompt = get_system_prompt().replace(
|
|
|
|
| 115 |
|
| 116 |
validation = validation_questions["buyer_persona"]
|
| 117 |
|
| 118 |
+
# Solo incluir instrucciones de formato de viñetas para base_format y busqueda_format
|
| 119 |
+
if format_type in ["base_format", "busqueda_format"]:
|
| 120 |
+
format_instruction = bullet_format_instructions
|
| 121 |
+
else:
|
| 122 |
+
format_instruction = """
|
| 123 |
+
\n\nIMPORTANT - FORMAT INSTRUCTIONS:
|
| 124 |
+
Follow EXACTLY the format provided in the template. Do not add sections that are not in the template.
|
| 125 |
+
Do not include sections for Miedos, Inseguridades, Culpa, Problemas, or Frustraciones unless they are explicitly part of the format template.
|
| 126 |
+
"""
|
| 127 |
|
| 128 |
# Obtener el prompt principal pero modificarlo según el formato
|
| 129 |
system_prompt = get_system_prompt().replace(
|