JeCabrera commited on
Commit
aad9695
·
verified ·
1 Parent(s): 17a4a69

Update bullets/generator.py

Browse files
Files changed (1) hide show
  1. bullets/generator.py +14 -1
bullets/generator.py CHANGED
@@ -1,4 +1,11 @@
1
  def create_bullet_instruction():
 
 
 
 
 
 
 
2
  # Base instruction that applies to all formulas
3
  base_instruction = """
4
  IMPORTANT: After creating the main offer, add a section with 5 powerful benefit bullets that reinforce the promise.
@@ -173,4 +180,10 @@ def create_bullet_instruction():
173
 
174
  • Los 5 movimientos efectivos para fortalecer tu core sin equipamiento, que activan un 78% más de fibras musculares que los ejercicios tradicionales.
175
 
176
- Remember to choose just ONE formula and apply it consistently to all 5 bullets.
 
 
 
 
 
 
 
1
  def create_bullet_instruction():
2
+ """
3
+ Creates the instruction for generating benefit bullets.
4
+ The model will randomly choose between different bullet formulas.
5
+
6
+ Returns:
7
+ str: The complete instruction for generating bullets
8
+ """
9
  # Base instruction that applies to all formulas
10
  base_instruction = """
11
  IMPORTANT: After creating the main offer, add a section with 5 powerful benefit bullets that reinforce the promise.
 
180
 
181
  • Los 5 movimientos efectivos para fortalecer tu core sin equipamiento, que activan un 78% más de fibras musculares que los ejercicios tradicionales.
182
 
183
+ Remember to choose just ONE formula and apply it consistently to all 5 bullets.
184
+ """
185
+
186
+ # Combine base instruction with formula instructions
187
+ complete_instruction = base_instruction + formula_instructions
188
+
189
+ return complete_instruction