JeCabrera commited on
Commit
c6a5afe
verified
1 Parent(s): 81dba23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -57,7 +57,7 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, creativit
57
  full_prompt = f"""
58
  {system_instruction}
59
  Your task is to create {num_bullets} benefits or bullets that connect the symptom with the problem faced by {target_audience}, increasing their curiosity about the {product}.
60
- Infuse your responses with a creativity level of {creativity}. The bullets should be of the following types:
61
  * 'The bathroom cabinet is the best place to store medicine, right? Incorrect. It's the worst. The facts are on page 10.'
62
  * 'The best verb tense that gives your clients the feeling they've already bought from you.'
63
  * 'The story of...', 'The mysteries of...', 'The legend of...'
@@ -66,10 +66,11 @@ def get_gemini_response_bullets(target_audience, product, num_bullets, creativit
66
  * 'Did you know that...'
67
  * 'When is it a good idea to tell a girl you like her? If you don't say it at that moment, say goodbye to getting to know her intimately.'
68
  Use the following mention instructions to guide your writing: {mention_instruction}
69
- Using the mention type '{product_mention}' to guide how to mention the product in the benefits or bullets. Ensure to adapt your writing based on this mention type:
70
  - Direct: Clearly highlight the product as the solution.
71
  - Indirect: Subtly suggest the product without naming it.
72
  - Metaphorical: Use a metaphor to connect the product to the solution.
 
73
  Please create the bullets now.
74
  Cuando respondas siempre escribe un titular que mencione el p煤blico objetivo, el producto de la siguiente manera: 'Aqu铆 tienes 5 bullets para Pap谩s solteros, que aumenten el deseo de adquirir el Aceite multigrado, usando la menci贸n indirecta:'
75
  """
 
57
  full_prompt = f"""
58
  {system_instruction}
59
  Your task is to create {num_bullets} benefits or bullets that connect the symptom with the problem faced by {target_audience}, increasing their curiosity about the {product}.
60
+ Infuse your responses with a creativity level of {creativity}. The bullets should be written with the primary focus of driving the reader to take the desired action: {desired_action}.
61
  * 'The bathroom cabinet is the best place to store medicine, right? Incorrect. It's the worst. The facts are on page 10.'
62
  * 'The best verb tense that gives your clients the feeling they've already bought from you.'
63
  * 'The story of...', 'The mysteries of...', 'The legend of...'
 
66
  * 'Did you know that...'
67
  * 'When is it a good idea to tell a girl you like her? If you don't say it at that moment, say goodbye to getting to know her intimately.'
68
  Use the following mention instructions to guide your writing: {mention_instruction}
69
+ Using the mention type '{product_mention}' to guide how to mention the product in the benefits or bullets. Ensure the mention is adapted based on this type:
70
  - Direct: Clearly highlight the product as the solution.
71
  - Indirect: Subtly suggest the product without naming it.
72
  - Metaphorical: Use a metaphor to connect the product to the solution.
73
+ All bullets must lead towards and emphasize the desired action: {desired_action}.
74
  Please create the bullets now.
75
  Cuando respondas siempre escribe un titular que mencione el p煤blico objetivo, el producto de la siguiente manera: 'Aqu铆 tienes 5 bullets para Pap谩s solteros, que aumenten el deseo de adquirir el Aceite multigrado, usando la menci贸n indirecta:'
76
  """