Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1536,72 +1536,55 @@ def validate_ai_output(ai_output, proof_points):
|
|
| 1536 |
return validated_output
|
| 1537 |
# Create the prompt template
|
| 1538 |
prompt_message = """
|
| 1539 |
-
|
| 1540 |
-
|
| 1541 |
-
|
| 1542 |
-
-
|
| 1543 |
-
|
| 1544 |
-
|
| 1545 |
-
**
|
| 1546 |
-
-
|
| 1547 |
-
-
|
| 1548 |
-
|
| 1549 |
-
|
| 1550 |
-
|
| 1551 |
-
##
|
| 1552 |
-
|
| 1553 |
-
|
| 1554 |
-
-
|
| 1555 |
-
-
|
| 1556 |
-
-
|
| 1557 |
-
-
|
| 1558 |
-
|
| 1559 |
-
|
| 1560 |
-
1.
|
| 1561 |
-
2.
|
| 1562 |
-
3.
|
| 1563 |
-
|
| 1564 |
-
|
| 1565 |
-
|
| 1566 |
-
|
| 1567 |
-
|
| 1568 |
-
|
| 1569 |
-
|
| 1570 |
-
|
| 1571 |
-
|
| 1572 |
-
-
|
| 1573 |
-
-
|
| 1574 |
-
|
| 1575 |
-
|
| 1576 |
-
|
| 1577 |
-
|
| 1578 |
-
|
| 1579 |
-
-
|
| 1580 |
-
|
| 1581 |
-
|
| 1582 |
-
|
| 1583 |
-
|
| 1584 |
-
|
| 1585 |
-
|
| 1586 |
-
|
| 1587 |
-
|
| 1588 |
-
- Creative Techniques Used: Mention and explain any metaphor, analogy, or creative technique employed.
|
| 1589 |
-
2. **Sales Conversations/Ad Copy**
|
| 1590 |
-
- Structure:
|
| 1591 |
-
Detailed conversation.
|
| 1592 |
-
- Intro line: "Here is a draft of your [Sales Conversation/Ad Copy]. Feel free to suggest further refinements."
|
| 1593 |
-
- Content structured using top scoring statements retrieved with clear messaging, integrating all required TrustBuilders®.
|
| 1594 |
-
- Additional Sections:
|
| 1595 |
-
- List of TrustBuilders® Used : list retreived trust statements 9 from top scoring.
|
| 1596 |
-
- Heuristics Used: List 3-5 relevant heuristics.
|
| 1597 |
-
- Creative Techniques Used: Mention and explain any creative elements used.
|
| 1598 |
-
3. **Emails, Newsletters, Direct Marketing Letters**
|
| 1599 |
-
- Intro Line: "Here is a draft of your [Email/Newsletter/Letter]. Feel free to suggest further refinements."
|
| 1600 |
-
- Content: Concise, actionable messaging with a call to action, integrating all required TrustBuilders®.
|
| 1601 |
-
- Additional Sections:
|
| 1602 |
-
- List of TrustBuilders® Used : list minimum 9 top scoring statements retrieved
|
| 1603 |
-
- Heuristics Used: List 3-5 relevant heuristics.
|
| 1604 |
-
- Creative Techniques Used: Highlight creative approaches used.
|
| 1605 |
"""
|
| 1606 |
|
| 1607 |
|
|
|
|
| 1536 |
return validated_output
|
| 1537 |
# Create the prompt template
|
| 1538 |
prompt_message = """
|
| 1539 |
+
# Advanced Trust Builder® Content Generation Prompt
|
| 1540 |
+
|
| 1541 |
+
## Objective
|
| 1542 |
+
Create high-quality marketing content that strategically integrates Trust Builders® across multiple content formats.
|
| 1543 |
+
|
| 1544 |
+
## Core Requirements
|
| 1545 |
+
- Mandatory: Use **ALL** Trust Builders® from selected Trust Buckets
|
| 1546 |
+
- Minimum of 9 trust statements must be explicitly incorporated
|
| 1547 |
+
- Maintain a detailed, comprehensive response
|
| 1548 |
+
|
| 1549 |
+
## Trust Bucket Framework
|
| 1550 |
+
|
| 1551 |
+
## Content Generation Guidelines
|
| 1552 |
+
|
| 1553 |
+
### 1. Initial Presentation
|
| 1554 |
+
- **Mandatory First Section**:
|
| 1555 |
+
- List top 3 Trust Builders® for each selected Trust Bucket in bullet points
|
| 1556 |
+
- Include percentage of trust contribution
|
| 1557 |
+
- Format:
|
| 1558 |
+
```
|
| 1559 |
+
Trust Bucket: [Name]
|
| 1560 |
+
1. Statement (X%)
|
| 1561 |
+
2. Statement (Y%)
|
| 1562 |
+
3. Statement (Z%)
|
| 1563 |
+
```
|
| 1564 |
+
|
| 1565 |
+
### 2. Content Formats
|
| 1566 |
+
Choose ONE:
|
| 1567 |
+
- Annual Reports/Articles
|
| 1568 |
+
- Sales Conversations/Ad Copy
|
| 1569 |
+
- Emails/Newsletters/Direct Marketing Letters
|
| 1570 |
+
|
| 1571 |
+
### 3. Content Composition
|
| 1572 |
+
- Tone: Active, professional, engaging
|
| 1573 |
+
- Include specific details: names, numbers, programs, awards
|
| 1574 |
+
- Strictly integrate ALL listed Trust Builders®
|
| 1575 |
+
- Weave trust statements naturally into the narrative
|
| 1576 |
+
- Ensure comprehensive coverage of all trust statements
|
| 1577 |
+
|
| 1578 |
+
## Tone and Style
|
| 1579 |
+
- Avoid complex, flowery language
|
| 1580 |
+
- Be direct and impactful
|
| 1581 |
+
- Maintain professional communication style
|
| 1582 |
+
|
| 1583 |
+
## Delivery Instructions
|
| 1584 |
+
- Start with Trust Builder® statements
|
| 1585 |
+
- Follow with comprehensive content
|
| 1586 |
+
- Seamlessly incorporate all trust statements
|
| 1587 |
+
- Demonstrate clear value proposition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1588 |
"""
|
| 1589 |
|
| 1590 |
|