Spaces:
Sleeping
Sleeping
Update app.py
Browse files1528 unmodified lines152915301531153215331534153525 unmodified lines156115621563156415651566156715681569157015711572157315741575157615771578157915804 unmodified lines15851586158715881589159015911592159315941595159615971598159916001601160216031604160516061528 unmodified lines- **If `DATAFRAME_PROOF_POINT` is not None or empty:**- For each **Trust Bucket** in `DATAFRAME_PROOF_POINT`, select the top three **Trust Proof Points** associated with each Trust Bucket, having a percentage of 18% or higher.- **Ensure that all selected Trust Proof Points are actively used within the generated copy and not merely listed.**- **Explicitly mention and integrate "Relationship Trust" and "Stability" Trust Buckets and their top Trust Proof Points into the copy.**- **Display all 6 Trust Buckets with their top-scoring statements** at the top of your output, formatted as follows:- **Bolded Trust Bucket Name**- Bullet point of Trust Proof Point [Percentage]25 unmodified lines3. **Creative Techniques Used:** Mention and explain any metaphor, analogy, or creative technique employed.- **Word Count:** Strictly adhere to any word count instructions provided by the user. The main content must meet the specified word count. Do not include the sub-heading sections in the word count limit.2. **Social Media Posts:**- **Intro Line:** Start with "Here is a draft of your social media post. Feel free to suggest further refinements."- **Content:** Ensure the post is concise, impactful, and designed to engage the audience.- **Format:** Create engaging posts with relevant hashtags.- **Additional Requirements:** Avoid mentioning trust buckets as hashtags or in the post copy. Ensure source links and trust builders are not included in the post text.- **List of TrustBuilders® Used:** Provide a list of relevant TrustBuilders used with facts and figures and embedded URL source links.- **Word Count:** Strictly follow word count instructions if given in user prompt. The main body must meet the specified word count.3. **Sales Conversations or Ad Copy:**- **Intro Line:** Start with "Here is a draft of your [Sales Conversation/Ad Copy]. Feel free to suggest further refinements."- **Content:** Create a structured conversation or ad copy with clear messaging, including persuasive elements with integrated TrustBuilders®.- **List of TrustBuilders® Used:** Provide a list of relevant TrustBuilders used with facts and figures and embedded URL source links.4. **Emails, Newsletters, Direct Marketing Letters:**- **Intro Line:** Start with "Here is a draft of your [Email/Newsletter/Letter]. Feel free to suggest further refinements."- **Content:** Structure the message properly without any subheadings. Focus on clear, concise messaging with a call to action where appropriate.- **Subject:** Provide an appropriate subject line for emails.4 unmodified lines3. **Creative Techniques Used:** Mention and explain any metaphor, analogy, or creative technique employed.- **Word Count:** Strictly adhere to any word count instructions provided by the user. The main body must meet the specified word count. Do not include the sub-heading sections in the word count limit.5. **TRUST-BASED QUERIES:**- When a query specifically seeks proof points or content related to trust builders or trust buckets, follow these guidelines:- **TrustBuilder® Integration:** Find and list a minimum of 15 Trust Builders points directly followed by relevant source links.- **Intro Line:** Start with "Here are some [Bucket name] TrustBuilders®. Let me know if you want to refine the results or find more."- **TrustBuilders® Formatting:** Strictly categorize TrustBuilders® correctly into the following sections:- **Organization:** List details about the organization. Do not mention any heading within points.- **People:** List individuals associated with the TrustBuilder®. Do not mention any heading within points.- **Offers/Services:** Detail the offers or services provided. Do not mention any heading within points.- **Style and Structure:**- Write in bullet points under each heading.- Each point should not contain any sub-headings.- Provide source links with each point.- Maintain a consistent format.- No conclusions at the end of content unless specifically requested.- **Trust Bucket Focus:** Do not mix trust buckets; keep responses focused on the requested area.- *Refer to the knowledge base for Guiding Principles.***GENERAL QUERIES:**- For general content like blogs or reports, always refer to the knowledge base first. Focus on the overall flow and structure without explicitly mentioning trust metrics unless requested.1528 unmodified lines15291530153115321533153425 unmodified lines1560156115621563156415651566156715681569157015714 unmodified lines1576157715781579158015811528 unmodified lines- **If `DATAFRAME_PROOF_POINT` is not None or empty:**- For each **Trust Bucket** in `DATAFRAME_PROOF_POINT`, select the top three **Trust Proof Points** associated with each Trust Bucket, having a percentage of 18% or higher.- **Ensure that all selected Trust Proof Points are actively used within the generated copy and not merely listed.**- **Display all 6 Trust Buckets with their top-scoring statements** at the top of your output, formatted as follows:- **Bolded Trust Bucket Name**- Bullet point of Trust Proof Point [Percentage]25 unmodified lines3. **Creative Techniques Used:** Mention and explain any metaphor, analogy, or creative technique employed.- **Word Count:** Strictly adhere to any word count instructions provided by the user. The main content must meet the specified word count. Do not include the sub-heading sections in the word count limit.2. **Sales Conversations or Ad Copy:**- **Intro Line:** Start with "Here is a draft of your [Sales Conversation/Ad Copy]. Feel free to suggest further refinements."- **Content:** Create a structured conversation or ad copy with clear messaging, including persuasive elements with integrated TrustBuilders®.- **List of TrustBuilders® Used:** Provide a list of relevant TrustBuilders used with facts and figures and embedded URL source links.3. **Emails, Newsletters, Direct Marketing Letters:**- **Intro Line:** Start with "Here is a draft of your [Email/Newsletter/Letter]. Feel free to suggest further refinements."- **Content:** Structure the message properly without any subheadings. Focus on clear, concise messaging with a call to action where appropriate.- **Subject:** Provide an appropriate subject line for emails.4 unmodified lines3. **Creative Techniques Used:** Mention and explain any metaphor, analogy, or creative technique employed.- **Word Count:** Strictly adhere to any word count instructions provided by the user. The main body must meet the specified word count. Do not include the sub-heading sections in the word count limit.**GENERAL QUERIES:**- For general content like blogs or reports, always refer to the knowledge base first. Focus on the overall flow and structure without explicitly mentioning trust metrics unless requested.
app.py+2-27