JeCabrera commited on
Commit
3ba0740
verified
1 Parent(s): af55e5a

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +76 -90
prompts.py CHANGED
@@ -118,107 +118,93 @@ Create a compelling offer following the formula structure exactly, adapting it t
118
  level_num = sophistication_level.split(":")[0].replace("Nivel ", "")
119
 
120
  if selected_formula_name == "Oferta Dorada":
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  formula_specific_guidance = f"""
122
  For Oferta Dorada (Nivel {level_num}):
123
- - Headline: {get_headline_guidance(level_num)}
124
- - Promise: {get_promise_guidance(level_num)}
125
- - Subtitle: {get_subtitle_guidance(level_num)}"""
126
 
127
  elif selected_formula_name == "Contraste Revelador":
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  formula_specific_guidance = f"""
129
  For Contraste Revelador (Nivel {level_num}):
130
- - Visi贸n: {get_vision_guidance(level_num)}
131
- - Soluci贸n: {get_solution_guidance(level_num)}
132
- - Resultado: {get_result_guidance(level_num)}"""
133
 
134
  elif selected_formula_name == "Propuesta 脷nica de Valor":
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  formula_specific_guidance = f"""
136
  For Propuesta 脷nica de Valor (Nivel {level_num}):
137
- - Transformaci贸n: {get_transformation_guidance(level_num)}
138
- - Objeciones: {get_objection_guidance(level_num)}"""
139
 
140
  # Add the concise guidance to the instruction
141
  instruction += f"\n\nSOPHISTICATION GUIDANCE (NIVEL {level_num}):{formula_specific_guidance}"
142
 
143
- return instruction
144
-
145
- # Helper functions for concise sophistication guidance
146
- def get_headline_guidance(level):
147
- guidance = {
148
- "1": "Educational, introduce the concept as new",
149
- "2": "Differentiate from competitors, add specific benefits",
150
- "3": "Highlight unique mechanism or approach",
151
- "4": "Use data, research or challenge beliefs",
152
- "5": "Focus on identity and emotional transformation"
153
- }
154
- return guidance.get(level, "Match market awareness level")
155
-
156
- def get_promise_guidance(level):
157
- guidance = {
158
- "1": "Direct and clear benefit without comparisons",
159
- "2": "Quantified benefit with specific advantage",
160
- "3": "Unique mechanism or proprietary method",
161
- "4": "Evidence-backed transformation with specifics",
162
- "5": "Identity shift and deeper meaning beyond results"
163
- }
164
- return guidance.get(level, "Focus on transformation")
165
-
166
- def get_subtitle_guidance(level):
167
- guidance = {
168
- "1": "Simple proof with basic numbers",
169
- "2": "Comparative results with timeframes",
170
- "3": "Specific mechanism results with details",
171
- "4": "Research-backed evidence and guarantees",
172
- "5": "Community and movement-based validation"
173
- }
174
- return guidance.get(level, "Provide appropriate proof")
175
-
176
- def get_vision_guidance(level):
177
- guidance = {
178
- "1": "Simple, aspirational future state",
179
- "2": "Specific vision with clear advantages",
180
- "3": "Unique approach to achieving desires",
181
- "4": "Evidence-based optimal state",
182
- "5": "Transcendent vision beyond conventional goals"
183
- }
184
- return guidance.get(level, "Create inspiring vision")
185
-
186
- def get_solution_guidance(level):
187
- guidance = {
188
- "1": "Clear, straightforward solution",
189
- "2": "Solution with specific advantages",
190
- "3": "Unique mechanism or proprietary method",
191
- "4": "Validated solution with research backing",
192
- "5": "Paradigm-shifting approach"
193
- }
194
- return guidance.get(level, "Offer transformative solution")
195
-
196
- def get_result_guidance(level):
197
- guidance = {
198
- "1": "Simple emotional outcome with basic proof",
199
- "2": "Specific results with comparative advantages",
200
- "3": "Detailed outcomes from unique approach",
201
- "4": "Evidence-backed results with specifics",
202
- "5": "Identity-level transformation stories"
203
- }
204
- return guidance.get(level, "Show emotional transformation")
205
-
206
- def get_transformation_guidance(level):
207
- guidance = {
208
- "1": "Clear, direct transformation",
209
- "2": "Specific, quantified transformation",
210
- "3": "Unique mechanism transformation",
211
- "4": "Evidence-backed, validated transformation",
212
- "5": "Identity-level, paradigm-shifting transformation"
213
- }
214
- return guidance.get(level, "Focus on key transformation")
215
-
216
- def get_objection_guidance(level):
217
- guidance = {
218
- "1": "Address basic concerns simply",
219
- "2": "Counter specific objections with advantages",
220
- "3": "Handle objections with unique approach",
221
- "4": "Evidence-based objection handling",
222
- "5": "Transform objections into strengths"
223
- }
224
- return guidance.get(level, "Handle emotional objections")
 
118
  level_num = sophistication_level.split(":")[0].replace("Nivel ", "")
119
 
120
  if selected_formula_name == "Oferta Dorada":
121
+ # Guidance dictionaries for Oferta Dorada
122
+ headline_guidance = {
123
+ "1": "Educational, introduce the concept as new",
124
+ "2": "Differentiate from competitors, add specific benefits",
125
+ "3": "Highlight unique mechanism or approach",
126
+ "4": "Use data, research or challenge beliefs",
127
+ "5": "Focus on identity and emotional transformation"
128
+ }
129
+
130
+ promise_guidance = {
131
+ "1": "Direct and clear benefit without comparisons",
132
+ "2": "Quantified benefit with specific advantage",
133
+ "3": "Unique mechanism or proprietary method",
134
+ "4": "Evidence-backed transformation with specifics",
135
+ "5": "Identity shift and deeper meaning beyond results"
136
+ }
137
+
138
+ subtitle_guidance = {
139
+ "1": "Simple proof with basic numbers",
140
+ "2": "Comparative results with timeframes",
141
+ "3": "Specific mechanism results with details",
142
+ "4": "Research-backed evidence and guarantees",
143
+ "5": "Community and movement-based validation"
144
+ }
145
+
146
  formula_specific_guidance = f"""
147
  For Oferta Dorada (Nivel {level_num}):
148
+ - Headline: {headline_guidance.get(level_num, "Match market awareness level")}
149
+ - Promise: {promise_guidance.get(level_num, "Focus on transformation")}
150
+ - Subtitle: {subtitle_guidance.get(level_num, "Provide appropriate proof")}"""
151
 
152
  elif selected_formula_name == "Contraste Revelador":
153
+ # Guidance dictionaries for Contraste Revelador
154
+ vision_guidance = {
155
+ "1": "Simple, aspirational future state",
156
+ "2": "Specific vision with clear advantages",
157
+ "3": "Unique approach to achieving desires",
158
+ "4": "Evidence-based optimal state",
159
+ "5": "Transcendent vision beyond conventional goals"
160
+ }
161
+
162
+ solution_guidance = {
163
+ "1": "Clear, straightforward solution",
164
+ "2": "Solution with specific advantages",
165
+ "3": "Unique mechanism or proprietary method",
166
+ "4": "Validated solution with research backing",
167
+ "5": "Paradigm-shifting approach"
168
+ }
169
+
170
+ result_guidance = {
171
+ "1": "Simple emotional outcome with basic proof",
172
+ "2": "Specific results with comparative advantages",
173
+ "3": "Detailed outcomes from unique approach",
174
+ "4": "Evidence-backed results with specifics",
175
+ "5": "Identity-level transformation stories"
176
+ }
177
+
178
  formula_specific_guidance = f"""
179
  For Contraste Revelador (Nivel {level_num}):
180
+ - Visi贸n: {vision_guidance.get(level_num, "Create inspiring vision")}
181
+ - Soluci贸n: {solution_guidance.get(level_num, "Offer transformative solution")}
182
+ - Resultado: {result_guidance.get(level_num, "Show emotional transformation")}"""
183
 
184
  elif selected_formula_name == "Propuesta 脷nica de Valor":
185
+ # Guidance dictionaries for Propuesta 脷nica de Valor
186
+ transformation_guidance = {
187
+ "1": "Clear, direct transformation",
188
+ "2": "Specific, quantified transformation",
189
+ "3": "Unique mechanism transformation",
190
+ "4": "Evidence-backed, validated transformation",
191
+ "5": "Identity-level, paradigm-shifting transformation"
192
+ }
193
+
194
+ objection_guidance = {
195
+ "1": "Address basic concerns simply",
196
+ "2": "Counter specific objections with advantages",
197
+ "3": "Handle objections with unique approach",
198
+ "4": "Evidence-based objection handling",
199
+ "5": "Transform objections into strengths"
200
+ }
201
+
202
  formula_specific_guidance = f"""
203
  For Propuesta 脷nica de Valor (Nivel {level_num}):
204
+ - Transformaci贸n: {transformation_guidance.get(level_num, "Focus on key transformation")}
205
+ - Objeciones: {objection_guidance.get(level_num, "Handle emotional objections")}"""
206
 
207
  # Add the concise guidance to the instruction
208
  instruction += f"\n\nSOPHISTICATION GUIDANCE (NIVEL {level_num}):{formula_specific_guidance}"
209
 
210
+ return instruction