Update prompts.py
Browse files- prompts.py +1 -14
prompts.py
CHANGED
|
@@ -39,20 +39,6 @@ IMPORTANTE:
|
|
| 39 |
- Enfocarse en resultados tangibles y medibles
|
| 40 |
"""
|
| 41 |
|
| 42 |
-
# Crear un mensaje para el modelo, destacando la audiencia, el producto, la f贸rmula seleccionada y los ejemplos
|
| 43 |
-
benefits_instruction = (
|
| 44 |
-
f"{system_prompt}\n\n"
|
| 45 |
-
f"Tu tarea es crear {number_of_benefits} beneficios irresistibles dise帽ados para {target_audience}. "
|
| 46 |
-
f"El objetivo es mostrar c贸mo {product} puede transformar la vida del lector, conectando de forma natural y emocional. "
|
| 47 |
-
f"Evita usar menciones literales o repetitivas, y destaca soluciones concretas, mostrando c贸mo el producto elimina obst谩culos o satisface deseos reales. "
|
| 48 |
-
f"Usa la f贸rmula seleccionada como gu铆a:\n\n{selected_formula['description']}\n\n"
|
| 49 |
-
f"Insp铆rate en estos ejemplos:\n"
|
| 50 |
-
f"- {selected_formula['examples'][0]}\n"
|
| 51 |
-
f"- {selected_formula['examples'][1]}\n"
|
| 52 |
-
f"- {selected_formula['examples'][2]}\n\n"
|
| 53 |
-
f"Tu objetivo es inspirar deseo y acci贸n, evitando explicaciones o categor铆as en la respuesta."
|
| 54 |
-
)
|
| 55 |
-
|
| 56 |
def create_instruction(number_of_benefits, target_audience, product, selected_formula, selected_angle):
|
| 57 |
angle_instruction = ""
|
| 58 |
if selected_angle["description"] != "Generate the bullet without any specific angle":
|
|
@@ -62,6 +48,7 @@ def create_instruction(number_of_benefits, target_audience, product, selected_fo
|
|
| 62 |
f"{system_prompt}\n\n"
|
| 63 |
f"Tu tarea es crear {number_of_benefits} beneficios irresistibles dise帽ados para {target_audience}. "
|
| 64 |
f"El objetivo es mostrar c贸mo {product} puede transformar la vida del lector, conectando de forma natural y emocional. "
|
|
|
|
| 65 |
f"{angle_instruction}\n"
|
| 66 |
f"Usa la f贸rmula seleccionada como gu铆a:\n\n{selected_formula['description']}\n\n"
|
| 67 |
f"Insp铆rate en estos ejemplos:\n"
|
|
|
|
| 39 |
- Enfocarse en resultados tangibles y medibles
|
| 40 |
"""
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
def create_instruction(number_of_benefits, target_audience, product, selected_formula, selected_angle):
|
| 43 |
angle_instruction = ""
|
| 44 |
if selected_angle["description"] != "Generate the bullet without any specific angle":
|
|
|
|
| 48 |
f"{system_prompt}\n\n"
|
| 49 |
f"Tu tarea es crear {number_of_benefits} beneficios irresistibles dise帽ados para {target_audience}. "
|
| 50 |
f"El objetivo es mostrar c贸mo {product} puede transformar la vida del lector, conectando de forma natural y emocional. "
|
| 51 |
+
f"Evita usar menciones literales o repetitivas, y destaca soluciones concretas, mostrando c贸mo el producto elimina obst谩culos o satisface deseos reales. "
|
| 52 |
f"{angle_instruction}\n"
|
| 53 |
f"Usa la f贸rmula seleccionada como gu铆a:\n\n{selected_formula['description']}\n\n"
|
| 54 |
f"Insp铆rate en estos ejemplos:\n"
|