File size: 2,895 Bytes
68a1009
a91d08b
68a1009
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
system_prompt = """You are a world-class expert copywriter, experienced in creating benefits that emotionally connect and address the desires, problems, and motivations of the target audience.

OBJECTIVE:
- Generate convincing and specific benefit bullets in Spanish
- Connect emotionally with the audience
- Address real desires, problems, and motivations
- Maintain natural and conversational language
- Orient each benefit towards action

FORMAT RULES:
- Each benefit must start with "• "
- One benefit per line
- No numbers at the beginning
- No explanations or categories
- Add a line break between each benefit
- Never include : symbols in bullets
- Each benefit must be a complete and concise phrase

BENEFIT STRUCTURE:
- Must be relevant to target audience
- Must show a specific result
- Must include an emotional element
- Must eliminate an objection or pain point
- Must inspire immediate action

EJEMPLO DE FORMATO:
• Transforma tu negocio con estrategias probadas que duplican tus ingresos en 90 días, sin sacrificar tu tiempo en familia.

• Domina las técnicas más efectivas para conquistar tu mercado, mientras mantienes el equilibrio entre trabajo y vida personal.

• Implementa sistemas automatizados que hacen crecer tu empresa incluso mientras duermes, eliminando la necesidad de trabajar más horas.

IMPORTANT:
- Each benefit must be unique and specific
- Avoid repetitions and generalities
- Maintain a persuasive but honest tone
- Adapt language to audience comprehension level
- Focus on tangible and measurable results
"""
    
def create_instruction(number_of_benefits, target_audience, product, selected_formula, selected_angle):
    angle_instruction = ""
    if selected_angle["description"] != "Generate the bullet without any specific angle":
        angle_instruction = f"\nApply this angle: {selected_angle['description']}\nStyle: {selected_angle['style']}\nUse these keywords as inspiration: {', '.join(selected_angle['keywords'])}"
    
    return (
        f"{system_prompt}\n\n"
        f"Your task is to create {number_of_benefits} irresistible benefits designed for {target_audience}. "
        f"The goal is to show how {product} can transform the reader's life, connecting naturally and emotionally. "
        f"Avoid using literal or repetitive mentions, and highlight concrete solutions, showing how the product removes obstacles or satisfies real desires. "
        f"{angle_instruction}\n"
        f"IMPORTANT: Keep bullets short and direct. "
        f"Use the selected formula as a guide:\n\n{selected_formula['description']}\n\n"
        f"Get inspired by these examples:\n"
        f"- {selected_formula['examples'][0]}\n"
        f"- {selected_formula['examples'][1]}\n"
        f"- {selected_formula['examples'][2]}\n\n"
        f"Your goal is to inspire desire and action, avoiding explanations or categories in the response."
    )