Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2203,8 +2203,6 @@ def handle_prompt(prompt):
|
|
| 2203 |
|
| 2204 |
4. **Ensure Accuracy**:
|
| 2205 |
- Provide only verifiable and accurate information. Do not include placeholders, fabricated URLs, or vague references.
|
| 2206 |
-
|
| 2207 |
-
- Give output in proper formatting.
|
| 2208 |
- Response in same language in which asked.
|
| 2209 |
-Use google to provide accurate sources links containing the trustbuilder text information.
|
| 2210 |
|
|
@@ -2238,34 +2236,40 @@ def handle_prompt(prompt):
|
|
| 2238 |
# Check if user request includes blog, article, or newsletter
|
| 2239 |
if any(keyword in prompt.lower() for keyword in ["blog", "write","article","annual report","report", "newsletter","news letter ","website introduction"]):
|
| 2240 |
appended_instructions = (
|
| 2241 |
-
|
| 2242 |
-
|
| 2243 |
-
|
| 2244 |
-
|
| 2245 |
-
|
| 2246 |
-
|
| 2247 |
-
|
| 2248 |
-
|
| 2249 |
-
|
| 2250 |
-
|
| 2251 |
-
|
| 2252 |
-
|
| 2253 |
-
|
| 2254 |
-
|
| 2255 |
-
|
| 2256 |
-
|
| 2257 |
-
|
| 2258 |
-
|
| 2259 |
-
|
| 2260 |
-
|
| 2261 |
-
|
| 2262 |
-
|
| 2263 |
-
|
| 2264 |
-
|
| 2265 |
-
|
| 2266 |
-
|
| 2267 |
-
|
| 2268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2269 |
)
|
| 2270 |
|
| 2271 |
appended_instructions = ""
|
|
|
|
| 2203 |
|
| 2204 |
4. **Ensure Accuracy**:
|
| 2205 |
- Provide only verifiable and accurate information. Do not include placeholders, fabricated URLs, or vague references.
|
|
|
|
|
|
|
| 2206 |
- Response in same language in which asked.
|
| 2207 |
-Use google to provide accurate sources links containing the trustbuilder text information.
|
| 2208 |
|
|
|
|
| 2236 |
# Check if user request includes blog, article, or newsletter
|
| 2237 |
if any(keyword in prompt.lower() for keyword in ["blog", "write","article","annual report","report", "newsletter","news letter ","website introduction"]):
|
| 2238 |
appended_instructions = (
|
| 2239 |
+
"Craft a flawless, engaging, and fluid copy using *non-flowery language* that reads as though written by a seasoned marketing copywriter with 25 years of experience. "
|
| 2240 |
+
"Do not use AI jargon, vague phrases, or overly formal language. Avoid mentioning trustbucket names in the headings and content. Follow these enhanced guidelines to ensure a polished, publication-ready copy with a 10/10 quality: "
|
| 2241 |
+
|
| 2242 |
+
"**Format**: Adapt the tone and pronouns based on the content format: "
|
| 2243 |
+
" - **Articles, Blogs, Reports**: Use 'we' to reflect organizational authority and emphasize collective efforts. "
|
| 2244 |
+
" - **Newsletters**: Use 'you' or 'your' to directly engage the reader, making them feel personally connected to the content. Avoid distant references like 'they' or 'them'.Use 'you' to directly involve the reader in the narrative, particularly in CTAs."
|
| 2245 |
+
|
| 2246 |
+
"Make headlines and sub-headings active, action-oriented, and reader-focused, reflecting the essence of each section without using '-ing'. "
|
| 2247 |
+
|
| 2248 |
+
"**Strictly Make Stronger Transitions Between Sections**: Ensure each section logically builds upon the previous one, seamlessly reinforcing the overarching theme and avoiding disjointed paragraphs. "
|
| 2249 |
+
|
| 2250 |
+
"1. **Interconnected Structure**: Ensure all sections and ideas flow seamlessly, logically transitioning between paragraphs. Build a cohesive narrative where every part supports the overall theme. Avoid excessive bullet points; write in a fluid, interconnected manner with headings guiding the narrative. "
|
| 2251 |
+
|
| 2252 |
+
"2. **Seamless Integration of TrustBuilders®**: Naturally incorporate TrustBuilders® into the narrative without isolating or explicitly listing them in the main body. Instead, weave them fluidly into sentences to build credibility and trust while maintaining the content’s readability and engagement. "
|
| 2253 |
+
|
| 2254 |
+
"3. **Human Tone**: Write in a relatable, conversational style. Avoid repetitive phrasing, overly technical explanations, or mechanical structures. Use active voice to maintain a tone that is both approachable and professional. "
|
| 2255 |
+
|
| 2256 |
+
"4. **Audience-Centric Engagement**: Tailor the content to the audience's needs, goals, and challenges. Use relatable examples, vivid imagery, and direct appeals to foster emotional connections. Emphasize actionable insights and practical relevance so the audience feels understood. "
|
| 2257 |
+
|
| 2258 |
+
"5. **Storytelling Excellence**: Use storytelling techniques to enhance emotional engagement. Begin with a compelling hook, maintain momentum through transitions, and conclude with a strong call-to-action (CTA) that inspires the reader to act or reflect. "
|
| 2259 |
+
|
| 2260 |
+
"6. **Purpose-Driven Impact**: Clearly define the content’s purpose—whether to inform, persuade, or inspire action. Ensure every paragraph serves the overarching objective while reinforcing the core message. "
|
| 2261 |
+
|
| 2262 |
+
"7. **Polished Presentation**: Deliver a refined, professional, and error-free final output. The content should demonstrate mastery of language and design, ensuring clarity and engagement at every level. "
|
| 2263 |
+
|
| 2264 |
+
"8. **Creative and Engaging Headlines**: Write action-oriented, reader-focused headlines. Avoid generic phrases like 'Empowering Change' unless paired with specific outcomes or vivid details. Highlight what the audience gains or contributes. "
|
| 2265 |
+
|
| 2266 |
+
"9. **TrustBuilders and Techniques**: "
|
| 2267 |
+
" - Provide a **List of TrustBuilders Used** in a separate section, with accurate and properly formatted source links. "
|
| 2268 |
+
" - Include a **Heuristics and Creative Techniques** section in footnote style: "
|
| 2269 |
+
" - Heuristics: Mention names only, such as 'social proof,' 'authority,' or 'commitment.' "
|
| 2270 |
+
" - Creative Techniques: Mention only relevant techniques like 'storytelling' or 'vivid imagery.' "
|
| 2271 |
+
|
| 2272 |
+
"**MOST IMPORTANT RULE**: Every section and paragraph must transition logically into the next, creating a seamless, interconnected narrative. Avoid isolated or fragmented sections. The content must read as a cohesive story, holding the reader’s attention and conveying the intended message with clarity and impact."
|
| 2273 |
)
|
| 2274 |
|
| 2275 |
appended_instructions = ""
|