Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +13 -0
prompts.py
CHANGED
@@ -27,6 +27,19 @@ def create_offer_instruction(avatar_description, product_name, selected_formula_
|
|
27 |
# Get formula-specific instructions (empty string if not found)
|
28 |
additional_instructions = selected_formula.get("instructions", "")
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
# Create the base instruction
|
31 |
instruction = f"""{offer_system_prompt}
|
32 |
|
|
|
27 |
# Get formula-specific instructions (empty string if not found)
|
28 |
additional_instructions = selected_formula.get("instructions", "")
|
29 |
|
30 |
+
# Add benefit-focused instructions for Oferta Dorada
|
31 |
+
if selected_formula_name == "Oferta Dorada":
|
32 |
+
benefit_focus = """
|
33 |
+
IMPORTANT BENEFIT FOCUS:
|
34 |
+
- In the third line, emphasize BENEFITS and RESULTS, not mechanisms or tools
|
35 |
+
- Focus on what the audience will GAIN, not how the product works
|
36 |
+
- Highlight transformative outcomes and specific results
|
37 |
+
- If product name is provided, use it naturally without inventing features
|
38 |
+
- If no product name is provided, use generic terms like "our method" or "this system"
|
39 |
+
- NEVER invent product names or specific features not mentioned in the input
|
40 |
+
"""
|
41 |
+
additional_instructions = benefit_focus + "\n\n" + additional_instructions
|
42 |
+
|
43 |
# Create the base instruction
|
44 |
instruction = f"""{offer_system_prompt}
|
45 |
|