Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2261,21 +2261,31 @@ def handle_prompt(prompt):
|
|
| 2261 |
# Check if user request includes blog, article, or newsletter
|
| 2262 |
if any(keyword in prompt.lower() for keyword in ["blog", "write","article","annual report","report", "newsletter","news letter ","website introduction"]):
|
| 2263 |
appended_instructions = (
|
| 2264 |
-
|
| 2265 |
-
"Avoid flowery language, vague expressions, or formal overtones. Follow these
|
| 2266 |
-
|
| 2267 |
-
"
|
| 2268 |
-
|
| 2269 |
-
"
|
| 2270 |
-
|
| 2271 |
-
"
|
| 2272 |
-
|
| 2273 |
-
"
|
| 2274 |
-
|
| 2275 |
-
"
|
| 2276 |
-
|
| 2277 |
-
"
|
| 2278 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2279 |
else:
|
| 2280 |
appended_instructions = ""
|
| 2281 |
final_prompt = f"{prompt} {base_instructions} {appended_instructions}"
|
|
|
|
| 2261 |
# Check if user request includes blog, article, or newsletter
|
| 2262 |
if any(keyword in prompt.lower() for keyword in ["blog", "write","article","annual report","report", "newsletter","news letter ","website introduction"]):
|
| 2263 |
appended_instructions = (
|
| 2264 |
+
"Craft a compelling, seamless, and publication-ready copy using *precise, professional language* that feels like the work of a seasoned copywriter with 25 years of experience. "
|
| 2265 |
+
"Avoid flowery language, vague expressions, or formal overtones. Follow these enhanced guidelines to ensure exceptional quality: "
|
| 2266 |
+
|
| 2267 |
+
"1. **Deep Interconnection**: Ensure all sections and paragraphs are deeply interconnected. Each section must logically transition to the next, creating a cohesive narrative that flows naturally. Avoid fragmented or disjointed content that feels like separate sections. The entire piece should read as one unified story. "
|
| 2268 |
+
|
| 2269 |
+
"2. **Integrated TrustBuilders®**: Naturally incorporate TrustBuilders® into the narrative to enhance credibility and trust. Avoid explicitly listing them as standalone points or isolating them in the text. Weave them into context-rich sentences that add value and relevance. "
|
| 2270 |
+
|
| 2271 |
+
"3. **Human-Centric Storytelling**: Engage readers by using relatable examples and emotionally resonant stories. Anchor the narrative in human experiences to create an emotional connection with the audience. Avoid overly technical or impersonal tones; make the story come alive through vivid imagery and relatable scenarios. "
|
| 2272 |
+
|
| 2273 |
+
"4. **Logical Flow with Storytelling Hooks**: Start each section with a compelling hook or question to draw readers in. Transition smoothly between paragraphs to maintain momentum. The conclusion of one idea should naturally lead to the beginning of the next, reinforcing the overall theme. "
|
| 2274 |
+
|
| 2275 |
+
"5. **Audience-Centric Engagement**: Address the audience's needs, goals, and challenges directly. Use specific, actionable insights that resonate with their interests and inspire action. Personalize the tone to feel approachable while maintaining professionalism. "
|
| 2276 |
+
|
| 2277 |
+
"6. **Purpose-Driven Structure**: Ensure the copy aligns with its intended purpose—whether to inform, persuade, or inspire action. Every paragraph must serve the overarching objective and reinforce the core message. Avoid unnecessary repetition or irrelevant tangents. "
|
| 2278 |
+
|
| 2279 |
+
"7. **Polished Headlines and Subheadings**: Use creative and emotionally engaging headlines that summarize the content of each section. Subheadings should enhance the readability and guide the audience through the narrative. Avoid generic phrases; opt for evocative, action-oriented language. "
|
| 2280 |
+
|
| 2281 |
+
"8. **Refined Presentation**: Deliver a polished, publication-ready output. The response must be error-free, professionally formatted, and demonstrate mastery of language and storytelling. "
|
| 2282 |
+
|
| 2283 |
+
"9. **Trust Tip Integration**: Where relevant, include actionable 'Trust Tips' that highlight the role of trust in decision-making. Ensure these are woven seamlessly into the narrative and avoid abrupt or disconnected mentions. "
|
| 2284 |
+
|
| 2285 |
+
"10. **Creative Techniques and Heuristics**: "
|
| 2286 |
+
" - Provide a separate 'List of TrustBuilders Used' section containing trustbuilders with source links for credibility. "
|
| 2287 |
+
" - List relevant heuristics (e.g., social proof, authority) and creative techniques (e.g., storytelling, vivid imagery) in a footnote-style format for added clarity. "
|
| 2288 |
+
)
|
| 2289 |
else:
|
| 2290 |
appended_instructions = ""
|
| 2291 |
final_prompt = f"{prompt} {base_instructions} {appended_instructions}"
|