Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +17 -2
prompts.py
CHANGED
|
@@ -66,7 +66,22 @@ Create a compelling offer following the formula structure exactly, adapting it t
|
|
| 66 |
|
| 67 |
# Add sophistication level guidance using the dedicated function
|
| 68 |
if sophistication_level:
|
| 69 |
-
|
| 70 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
|
| 72 |
return instruction
|
|
|
|
| 66 |
|
| 67 |
# Add sophistication level guidance using the dedicated function
|
| 68 |
if sophistication_level:
|
| 69 |
+
# Get basic sophistication guidance
|
| 70 |
+
base_sophistication_guidance = create_sophistication_instruction(sophistication_level)
|
| 71 |
+
|
| 72 |
+
# Add formula-specific sophistication guidance
|
| 73 |
+
formula_specific_guidance = ""
|
| 74 |
+
|
| 75 |
+
# Apply conditional logic based on formula name
|
| 76 |
+
if selected_formula_name == "Oferta Dorada":
|
| 77 |
+
formula_specific_guidance = f"\n\nFor the Oferta Dorada formula specifically:\n- Gancho: Create a hook that matches {sophistication_level} awareness level. For higher sophistication, use more specific data or challenge established beliefs.\n- Promesa: Craft a promise that addresses the skepticism level of this market. For higher sophistication, focus on unique mechanisms or emotional transformation.\n- Beneficio con Autoridad: Provide proof elements appropriate for this sophistication level. For higher sophistication, include more specific data, studies, or transparent evidence."
|
| 78 |
+
|
| 79 |
+
elif selected_formula_name == "F贸rmula Sue帽o-Obst谩culo":
|
| 80 |
+
formula_specific_guidance = f"\n\nFor the F贸rmula Sue帽o-Obst谩culo specifically:\n- Type: Select a solution type that resonates with {sophistication_level} markets.\n- Dream: For higher sophistication levels, make the dream more specific and emotionally resonant rather than generic.\n- Obstacle: For higher sophistication, address more complex or specific obstacles that show deep understanding of the market's challenges."
|
| 81 |
+
|
| 82 |
+
# Add more conditionals for other formulas as they are added to the system
|
| 83 |
+
|
| 84 |
+
# Combine the base guidance with formula-specific guidance
|
| 85 |
+
instruction += f"\n\nMARKET SOPHISTICATION GUIDANCE:\n{base_sophistication_guidance}{formula_specific_guidance}\n\nEnsure the entire offer maintains consistency with this sophistication level while following the formula structure."
|
| 86 |
|
| 87 |
return instruction
|