Spaces:
Sleeping
Sleeping
Update prompts.py
Browse files- prompts.py +53 -52
prompts.py
CHANGED
@@ -93,24 +93,24 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
93 |
story_instruction = f"""
|
94 |
**Personalized Story - CRITICAL INSTRUCTION:**
|
95 |
|
96 |
-
|
97 |
"{story_prompt}"
|
98 |
|
99 |
-
THIS
|
100 |
|
101 |
-
ESSENTIAL
|
102 |
-
-
|
103 |
-
-
|
104 |
-
-
|
105 |
-
-
|
106 |
-
- Include
|
107 |
-
-
|
108 |
-
-
|
109 |
-
- The
|
110 |
|
111 |
-
This story
|
112 |
|
113 |
-
IMPORTANT:
|
114 |
"""
|
115 |
|
116 |
persona_instruction = f"""
|
@@ -180,32 +180,33 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
180 |
{persona_instruction}
|
181 |
|
182 |
Ad Requirements for EACH of the three ads:
|
183 |
-
1. **
|
184 |
-
2. **
|
185 |
-
3. **
|
186 |
-
4. **
|
187 |
-
5. **
|
188 |
-
6. **Optimized for Multiple Ad Formats:** Ensure the copy works for image, video, and carousel ads while maintaining
|
189 |
-
|
190 |
-
IMPORTANT ABOUT
|
191 |
-
-
|
192 |
-
-
|
193 |
-
-
|
194 |
-
-
|
195 |
-
- The
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
-
|
200 |
-
- The
|
201 |
-
-
|
202 |
-
- The headline should
|
|
|
203 |
|
204 |
IMPORTANT ABOUT CALL TO ACTION:
|
205 |
-
-
|
|
|
206 |
- Avoid generic phrases like "Learn more" or "Click here" unless they're integrated into a more specific, compelling statement
|
207 |
-
- Connect the CTA directly to the
|
208 |
-
- Maintain the same voice, style and emotional tone used throughout the ad
|
209 |
- Make the CTA feel like a natural continuation of the conversation, not a marketing directive
|
210 |
|
211 |
**Product Integration:** Weave {product} into the narrative naturally and conversationally. Don't just mention it - make it an organic part of the story. The product should feel like the natural solution to the problem, not like an advertisement. Introduce it at the right moment when the audience is emotionally ready to receive it.
|
@@ -217,17 +218,17 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
217 |
- Focus on what it does for people rather than what it is
|
218 |
- Use phrases like "muchos descubrieron que...", "resulta que...", "lo que realmente funciona es..." before subtly introducing the product
|
219 |
|
220 |
-
Examples of creative,
|
221 |
- "They Laughed When I Sat Down At The Piano. But When I Started to Play..."
|
222 |
-
- "
|
223 |
-
- "
|
224 |
-
- "
|
225 |
-
- "
|
226 |
-
- "
|
227 |
-
- "
|
228 |
-
- "
|
229 |
-
- "The
|
230 |
-
- "
|
231 |
|
232 |
Use this formula to structure the ad: {selected_formula['description']}
|
233 |
{formula_examples}
|
@@ -244,8 +245,8 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
244 |
- Frame all benefits through this specific perspective
|
245 |
- Use the suggested keywords naturally throughout the copy
|
246 |
- Maintain the specified style consistently in your tone and language
|
247 |
-
- Ensure this angle is evident in both the headline
|
248 |
-
- If a story theme was provided ("{story_prompt}"),
|
249 |
|
250 |
The goal is to show how {product} can transform the reader's life, connecting naturally and emotionally.
|
251 |
Avoid literal or repetitive mentions, and highlight concrete solutions, showing how the product removes obstacles or satisfies real desires.
|
@@ -253,7 +254,7 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
253 |
Additional Instructions:
|
254 |
- Ensure the tone and style match the brand and audience expectations.
|
255 |
- Generate the ad copy in {language}.
|
256 |
-
- Make the headline creative, unexpected, and deeply aligned with
|
257 |
- Never introduce the product with phrases like "Introducing [Product]" or "Our [Product] offers..." - instead, weave it into the narrative as a solution that others have discovered.
|
258 |
- Refer to the product in a way that feels like a trusted recommendation, not like a company selling it.
|
259 |
- CRITICAL: Never write phrases like "Eso es exactamente lo que te ofrece [Product]" or similar direct introductions. The product should appear organically in the flow of the story.
|
@@ -308,9 +309,9 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
308 |
4. Is the product integrated naturally into the narrative without feeling forced or promotional?
|
309 |
5. Does the story authentically reflect a real-life situation that {target_audience} faces daily?
|
310 |
6. Are the specific challenges, frustrations, and aspirations mentioned in the ad truly representative of {target_audience}'s experience?
|
311 |
-
7. If a story theme was provided ("{story_prompt}"),
|
312 |
8. Does the ad use language, references, and examples that would immediately resonate with {target_audience}?
|
313 |
-
9. Would someone from {target_audience} read this ad and think "this person understands exactly what I'm going through
|
314 |
10. Does the ad effectively incorporate the emotional angle "{selected_angle['description']}" throughout the copy?
|
315 |
11. Is the writing style authentically reflective of {selected_persona['description']}'s signature approach?
|
316 |
12. Is the Call to Action (CTA) clear, specific, and compelling enough to drive the desired action?
|
@@ -318,7 +319,7 @@ def create_fb_ad_instruction(target_audience, product, selected_formula, selecte
|
|
318 |
14. Is the total word count between 125-150 words as required? If not, adjust to meet this critical requirement.
|
319 |
15. Have you focused on the most impactful points rather than trying to cover everything?
|
320 |
16. Have you created exactly three distinct headline variations that approach the same core message from different angles?
|
321 |
-
17. CRITICAL CHECK: Does the
|
322 |
|
323 |
Your goal is to inspire desire and action, avoiding explanations or categories in the response.
|
324 |
"""
|
|
|
93 |
story_instruction = f"""
|
94 |
**Personalized Story - CRITICAL INSTRUCTION:**
|
95 |
|
96 |
+
USE THIS THEME AS CREATIVE INSPIRATION:
|
97 |
"{story_prompt}"
|
98 |
|
99 |
+
TRANSFORM THIS THEME INTO A COMPELLING NARRATIVE THAT YOUR AUDIENCE IS DYING TO HEAR.
|
100 |
|
101 |
+
ESSENTIAL STORYTELLING APPROACH:
|
102 |
+
- Don't just mention "{story_prompt}" directly - let it inspire a relatable situation that resonates deeply
|
103 |
+
- Create a narrative that feels like it was taken directly from your audience's daily life
|
104 |
+
- The story should feel so authentic that {target_audience} thinks "this is exactly what I'm going through"
|
105 |
+
- Develop a narrative arc that naturally leads to the product as the perfect solution
|
106 |
+
- Include emotional touchpoints that mirror your audience's actual experiences
|
107 |
+
- Focus on creating a story others will not only be dying to hear but will soak up completely
|
108 |
+
- Craft the narrative so they'll naturally take action with whatever you tell them to do
|
109 |
+
- The product should emerge organically as the logical answer to the situation you've painted
|
110 |
|
111 |
+
This story should feel like you're describing a day in the life of your audience - their challenges, frustrations, and aspirations - without explicitly mentioning "{story_prompt}" as a label.
|
112 |
|
113 |
+
IMPORTANT: The theme should be woven naturally throughout the narrative, not forced or explicitly labeled. The audience should connect with the situation emotionally without feeling like they're being marketed to.
|
114 |
"""
|
115 |
|
116 |
persona_instruction = f"""
|
|
|
180 |
{persona_instruction}
|
181 |
|
182 |
Ad Requirements for EACH of the three ads:
|
183 |
+
1. **Compelling Story-Driven Headlines:** Create three bold, unexpected headlines for EACH ad that capture the essence of the story you'll tell. Make them memorable, emotionally resonant, and specific to the audience's desires.
|
184 |
+
2. **Seamless Narrative Flow:** Begin with a conversational opening that feels like the natural continuation of the headline. The first paragraph should expand on the headline's promise in a way that draws the reader deeper into the story.
|
185 |
+
3. **Authentic Relatability:** Create a narrative that feels like it was pulled directly from your audience's life. They should think "this person understands exactly what I'm going through."
|
186 |
+
4. **Organic Solution Introduction:** Weave the product into the story naturally, as if it's the obvious answer to the situation you've described, not as a promotional element.
|
187 |
+
5. **Natural Call to Action:** The CTA should feel like the logical next step in the story, not a marketing directive. It should be what the reader already wants to do by that point.
|
188 |
+
6. **Optimized for Multiple Ad Formats:** Ensure the copy works for image, video, and carousel ads while maintaining narrative consistency.
|
189 |
+
|
190 |
+
IMPORTANT ABOUT STORYTELLING APPROACH:
|
191 |
+
- Create a story others are not only dying to hear but will soak up completely
|
192 |
+
- The narrative should be so compelling that taking action feels like the natural conclusion
|
193 |
+
- Don't explicitly label the theme - let it emerge naturally through the situation you describe
|
194 |
+
- Focus on creating an emotional connection first, before introducing any solution
|
195 |
+
- The story should feel like it's about the reader's life, not about the product
|
196 |
+
- Use specific details that make the audience think "this is exactly my experience"
|
197 |
+
|
198 |
+
IMPORTANT ABOUT HEADLINE-STORY RELATIONSHIP:
|
199 |
+
- The headline and story should feel like parts of the same narrative journey
|
200 |
+
- The headline should promise a story worth reading, and the opening must deliver immediately
|
201 |
+
- If the headline hints at a transformation, challenge, or insight, the story must explore this fully
|
202 |
+
- The headline should create curiosity that only the story can satisfy
|
203 |
+
- Together they should create a seamless reading experience that pulls the reader through the entire ad
|
204 |
|
205 |
IMPORTANT ABOUT CALL TO ACTION:
|
206 |
+
- By the time readers reach your CTA, they should already want to take that exact action
|
207 |
+
- The CTA should feel like you're helping them do what they already decided to do
|
208 |
- Avoid generic phrases like "Learn more" or "Click here" unless they're integrated into a more specific, compelling statement
|
209 |
+
- Connect the CTA directly to the transformation promised in the story
|
|
|
210 |
- Make the CTA feel like a natural continuation of the conversation, not a marketing directive
|
211 |
|
212 |
**Product Integration:** Weave {product} into the narrative naturally and conversationally. Don't just mention it - make it an organic part of the story. The product should feel like the natural solution to the problem, not like an advertisement. Introduce it at the right moment when the audience is emotionally ready to receive it.
|
|
|
218 |
- Focus on what it does for people rather than what it is
|
219 |
- Use phrases like "muchos descubrieron que...", "resulta que...", "lo que realmente funciona es..." before subtly introducing the product
|
220 |
|
221 |
+
Examples of creative, story-driven headlines:
|
222 |
- "They Laughed When I Sat Down At The Piano. But When I Started to Play..."
|
223 |
+
- "The Day I Stopped Fighting With My Teenager (And What Changed Everything)"
|
224 |
+
- "The 3AM Realization That Transformed My Business Overnight"
|
225 |
+
- "What My Toddler's Tantrum Taught Me About Leadership"
|
226 |
+
- "The Embarrassing Moment That Led To My Biggest Breakthrough"
|
227 |
+
- "The Strange Habit That Saved My Marriage"
|
228 |
+
- "How A Spilled Coffee Changed My Approach To Time Management"
|
229 |
+
- "The Unexpected Question That Silenced The Room (And Doubled My Sales)"
|
230 |
+
- "The Day I Realized I Was Doing It All Wrong (And What I Did Next)"
|
231 |
+
- "The Counterintuitive Approach That Finally Worked When Nothing Else Did"
|
232 |
|
233 |
Use this formula to structure the ad: {selected_formula['description']}
|
234 |
{formula_examples}
|
|
|
245 |
- Frame all benefits through this specific perspective
|
246 |
- Use the suggested keywords naturally throughout the copy
|
247 |
- Maintain the specified style consistently in your tone and language
|
248 |
+
- Ensure this angle is evident in both the headline and the story
|
249 |
+
- If a story theme was provided ("{story_prompt}"), use it as inspiration rather than a direct topic
|
250 |
|
251 |
The goal is to show how {product} can transform the reader's life, connecting naturally and emotionally.
|
252 |
Avoid literal or repetitive mentions, and highlight concrete solutions, showing how the product removes obstacles or satisfies real desires.
|
|
|
254 |
Additional Instructions:
|
255 |
- Ensure the tone and style match the brand and audience expectations.
|
256 |
- Generate the ad copy in {language}.
|
257 |
+
- Make the headline creative, unexpected, and deeply aligned with the story you'll tell.
|
258 |
- Never introduce the product with phrases like "Introducing [Product]" or "Our [Product] offers..." - instead, weave it into the narrative as a solution that others have discovered.
|
259 |
- Refer to the product in a way that feels like a trusted recommendation, not like a company selling it.
|
260 |
- CRITICAL: Never write phrases like "Eso es exactamente lo que te ofrece [Product]" or similar direct introductions. The product should appear organically in the flow of the story.
|
|
|
309 |
4. Is the product integrated naturally into the narrative without feeling forced or promotional?
|
310 |
5. Does the story authentically reflect a real-life situation that {target_audience} faces daily?
|
311 |
6. Are the specific challenges, frustrations, and aspirations mentioned in the ad truly representative of {target_audience}'s experience?
|
312 |
+
7. If a story theme was provided ("{story_prompt}"), have you used it as inspiration for a compelling narrative rather than just mentioning it directly?
|
313 |
8. Does the ad use language, references, and examples that would immediately resonate with {target_audience}?
|
314 |
+
9. Would someone from {target_audience} read this ad and think "this person understands exactly what I'm going through"?
|
315 |
10. Does the ad effectively incorporate the emotional angle "{selected_angle['description']}" throughout the copy?
|
316 |
11. Is the writing style authentically reflective of {selected_persona['description']}'s signature approach?
|
317 |
12. Is the Call to Action (CTA) clear, specific, and compelling enough to drive the desired action?
|
|
|
319 |
14. Is the total word count between 125-150 words as required? If not, adjust to meet this critical requirement.
|
320 |
15. Have you focused on the most impactful points rather than trying to cover everything?
|
321 |
16. Have you created exactly three distinct headline variations that approach the same core message from different angles?
|
322 |
+
17. CRITICAL CHECK: Does the story feel authentic and relatable rather than promotional? If not, rewrite to focus more on the audience's experience and less on the product.
|
323 |
|
324 |
Your goal is to inspire desire and action, avoiding explanations or categories in the response.
|
325 |
"""
|