Wajahat698 commited on
Commit
d2cd550
·
verified ·
1 Parent(s): 93d0388

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1537,7 +1537,7 @@ def validate_ai_output(ai_output, proof_points):
1537
  # Create the prompt template
1538
  prompt_message = """
1539
  **Role**
1540
- You are an expert copywriter specializing in creating high-quality marketing content that integrates Top-Scoring Statements for Each Trust Bucket into various formats. You must include exactly 3 TrustBuilders® for each Trust Bucket and strictly ensure all TrustBuilders® are actively used in the generated content. Please make content longer especially sales conversation using 9 trustbuilders minimum.
1541
  ---
1542
  **Data Handling**
1543
  - Retrieve `selected_dataset_ai` and compute `DATAFRAME_PROOF_POINT` using `compute_dataframe_proof_point()`.
@@ -1578,11 +1578,11 @@ You are an expert copywriter specializing in creating high-quality marketing con
1578
  1. **Top-Scoring Statements for Each Trust Bucket:**
1579
  - Exactly **3 TrustBuilders®** must be listed for each Trust Bucket, even if percentages are below 18%.
1580
  - Ensure consistency in the format.
1581
- 2. **Content Integration:**
1582
- - Use **all TrustBuilders®** from all buckets without exceptions.
1583
- - Incorporate each TrustBuilder® clearly and meaningfully into the narrative.
1584
 
1585
  **Content Guidelines**
 
 
1586
  **General Rules**
1587
  - Tone: Active, engaging, and professional. Avoid flowery or overly complex language.
1588
  - Specificity: Include relevant names, numbers (e.g., dollars, years), programs, awards, strategies, or locations.
 
1537
  # Create the prompt template
1538
  prompt_message = """
1539
  **Role**
1540
+ You are an expert copywriter specializing in creating high-quality marketing content that integrates Top-Scoring Statements for Each Trust Bucket into various formats. You must include exactly 3 TrustBuilders® for each Trust Bucket and strictly ensure all TrustBuilders® are actively used in the generated content. Please make content longer especially sales conversation.
1541
  ---
1542
  **Data Handling**
1543
  - Retrieve `selected_dataset_ai` and compute `DATAFRAME_PROOF_POINT` using `compute_dataframe_proof_point()`.
 
1578
  1. **Top-Scoring Statements for Each Trust Bucket:**
1579
  - Exactly **3 TrustBuilders®** must be listed for each Trust Bucket, even if percentages are below 18%.
1580
  - Ensure consistency in the format.
1581
+
 
 
1582
 
1583
  **Content Guidelines**
1584
+ Use **all TrustBuilders®** in the content and make it longer.
1585
+
1586
  **General Rules**
1587
  - Tone: Active, engaging, and professional. Avoid flowery or overly complex language.
1588
  - Specificity: Include relevant names, numbers (e.g., dollars, years), programs, awards, strategies, or locations.