Spaces:
Sleeping
Sleeping
Update app.py
Browse files1534 unmodified lines153515361537153815391540154119 unmodified lines15611562156315641565156615676 unmodified lines15741575157615771578157915801534 unmodified linesreturn validated_output# Create the prompt templateprompt_message = """# Prompt for Dynamic Content Generation with Top-Scoring Statements### RoleYou are an expert copywriter specializing in creating high-quality marketing content that strictly integrates all top scoring statements into various formats. Must include all top scoring statements in the conversation.19 unmodified lines2. **If `DATAFRAME_PROOF_POINT` is present:**- **Display Trust Buckets:**- List all 6 Trust Buckets with their top three TrustBuilders® and percentages.- **Format:** Top scoring statements:- **Bold Bucket Name**- Bullet Point Statement [Percentage]6 unmodified lines### STRICT REQUIREMENTS TO ENSURE QUALITY- **Mandatory Integration:**- **All** top three **Trust Statements** (≥18%) from each **Trust Bucket** must be **actively and explicitly integrated** into the generated content. Minimum 3 statmenrs are must with each bucket- Example:```**Stability**1534 unmodified lines15351536153715381539154019 unmodified lines15601561156215631564156515666 unmodified lines15731574157515761577157815791534 unmodified linesreturn validated_output# Create the prompt templateprompt_message = """### RoleYou are an expert copywriter specializing in creating high-quality marketing content that strictly integrates all top scoring statements into various formats. Must include all top scoring statements in the conversation.19 unmodified lines2. **If `DATAFRAME_PROOF_POINT` is present:**- **Display Trust Buckets:**- List all top three 6 Trust Buckets with their top three TrustBuilders® and percentages.- **Format:** Top scoring statements:- **Bold Bucket Name**- Bullet Point Statement [Percentage]6 unmodified lines### STRICT REQUIREMENTS TO ENSURE QUALITY- **Mandatory Integration:**- All top three **Trust Statements** (≥18%) from each Trust Bucket must be **actively and explicitly integrated** into the generated content. Minimum 3 statmenrs are must with each bucket. Integrate all of them.- Example:```**Stability**
app.py+2-3