Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +9 -2
prompts.py
CHANGED
|
@@ -14,8 +14,6 @@ CRITICAL OUTPUT RULES:
|
|
| 14 |
- Start directly with the attention hook or opening phrase
|
| 15 |
- The entire response should be ONLY the offer itself following the formula structure
|
| 16 |
- Do not include phrases like "Aquí tienes una oferta convincente" or "Esta es tu oferta"
|
| 17 |
-
- Do not use any special formatting, markdown, or HTML tags
|
| 18 |
-
- Do not add any characters that could trigger text box formatting
|
| 19 |
"""
|
| 20 |
|
| 21 |
def create_offer_instruction(target_audience=None, product_service=None, selected_formula_name=None, file_content=None, skills=None, sophistication_level=None):
|
|
@@ -92,6 +90,15 @@ Create a compelling offer following the formula structure exactly, adapting it t
|
|
| 92 |
|
| 93 |
# Combine the base guidance with formula-specific guidance
|
| 94 |
instruction += f"\n\nMARKET SOPHISTICATION GUIDANCE:\n{base_sophistication_guidance}{formula_specific_guidance}\n\nEnsure the entire offer maintains consistency with this Level 3 sophistication while following the formula structure."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
elif sophistication_level:
|
| 96 |
# Original code for other sophistication levels
|
| 97 |
# Get basic sophistication guidance
|
|
|
|
| 14 |
- Start directly with the attention hook or opening phrase
|
| 15 |
- The entire response should be ONLY the offer itself following the formula structure
|
| 16 |
- Do not include phrases like "Aquí tienes una oferta convincente" or "Esta es tu oferta"
|
|
|
|
|
|
|
| 17 |
"""
|
| 18 |
|
| 19 |
def create_offer_instruction(target_audience=None, product_service=None, selected_formula_name=None, file_content=None, skills=None, sophistication_level=None):
|
|
|
|
| 90 |
|
| 91 |
# Combine the base guidance with formula-specific guidance
|
| 92 |
instruction += f"\n\nMARKET SOPHISTICATION GUIDANCE:\n{base_sophistication_guidance}{formula_specific_guidance}\n\nEnsure the entire offer maintains consistency with this Level 3 sophistication while following the formula structure."
|
| 93 |
+
elif sophistication_level and sophistication_level == "Nivel 4: Mercado escéptico y desconfiado":
|
| 94 |
+
# Get basic sophistication guidance
|
| 95 |
+
base_sophistication_guidance = create_sophistication_instruction(sophistication_level)
|
| 96 |
+
|
| 97 |
+
# Add formula-specific guidance for Nivel 4
|
| 98 |
+
formula_specific_guidance = f"\n\nFor this Level 4 market sophistication:\n- Make the hook directly challenge established beliefs with a provocative tone\n- Include specific research, verifiable data, and concrete evidence\n- Reference exact numbers, studies, or expert endorsements\n- Address deep objections that a skeptical audience would have\n- Add elements of exclusivity or limited access\n- Use language that makes the customer feel part of a select group\n- Highlight tangible and diversified results in multiple areas\n- Provide guarantees backed by concrete evidence\n- Use a tone that encourages immediate action"
|
| 99 |
+
|
| 100 |
+
# Combine the base guidance with formula-specific guidance
|
| 101 |
+
instruction += f"\n\nMARKET SOPHISTICATION GUIDANCE:\n{base_sophistication_guidance}{formula_specific_guidance}\n\nEnsure the entire offer maintains consistency with this Level 4 sophistication while following the formula structure."
|
| 102 |
elif sophistication_level:
|
| 103 |
# Original code for other sophistication levels
|
| 104 |
# Get basic sophistication guidance
|