Wajahat698 commited on
Commit
be48b27
·
verified ·
1 Parent(s): d6bd763

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -21
app.py CHANGED
@@ -1545,36 +1545,37 @@ You are an expert copywriter specializing in creating high-quality marketing con
1545
  **DATAFRAME_PROOF_POINT Structure**
1546
  - Trust Buckets: Stability, Development, Relationship, Benefit, Vision, Competence.
1547
  - TrustBuilders®: Statements with percentages.
1548
- ---
1549
- **Response Guidelines**
1550
- 1. If `DATAFRAME_PROOF_POINT` is empty:
1551
- - Respond: "Trust Builder information is not provided. Generating content based on general knowledge."
1552
- - Create content using general knowledge.
1553
- **Listing Top-Scoring Statements**
1554
- - For each of the six Trust Buckets, list exactly **3 TrustBuilders®**,
1555
- - Use the following format to display top-scoring statements:
1556
- Top-scoring statements
1557
- **Bucket Name**
1558
- - TrustBuilder® Statement 1 [Percentage]
1559
- - TrustBuilder® Statement 2 [Percentage]
1560
- - TrustBuilder® Statement 3 [Percentage]
1561
- ```
1562
- If `DATAFRAME_PROOF_POINT` is present:
1563
- - Display unique Top-Scoring Statements at start:
1564
- - Donot repeat a trustbuilder.
1565
-
 
 
 
 
1566
  - Integrate **all listed TrustBuilders®** into the requested content format. Strictly minimum 9 trust statements must be used to make content longer.
1567
  - Do not omit any TrustBuilders®—all must be actively and explicitly included in the content.
1568
  - Maintain a **longer and detailed response**, using all the provided Trust statements to ensure comprehensive coverage.
1569
 
1570
-
1571
-
1572
  **Content Guidelines**
1573
  Use **all TrustBuilders®** in the content and make it longer.
1574
  **General Rules**
1575
  - Tone: Active, engaging, and professional. Avoid flowery or overly complex language.
1576
  - Specificity: Include relevant names, numbers (e.g., dollars, years), programs, awards, strategies, or locations.
1577
- ---
1578
  **Content Types**
1579
  1. **Annual Reports/Articles**
1580
  - Structure:
 
1545
  **DATAFRAME_PROOF_POINT Structure**
1546
  - Trust Buckets: Stability, Development, Relationship, Benefit, Vision, Competence.
1547
  - TrustBuilders®: Statements with percentages.
1548
+
1549
+
1550
+ ## Specifics
1551
+ Always ensure to get the current value of selected_dataset_ai before generating any relevant answers. Always recompute the DATAFRAME_PROOF_POINT using the function compute_dataframe_proof_point() for every output. The result is displayed as DATAFRAME_PROOF_POINT.
1552
+ There are 3 columns in DATAFRAME_PROOF_POINT: Trust Driver, Trust Proof Point, and %.
1553
+ - Trust Driver: contains Trust indicators/buckets.
1554
+ - Trust Buckets: contains 6 unique Trust Buckets: Stability, Development, Relationship, Benefit, Vision, and Competence.
1555
+ - Trust Proof Point: contains Trust statements/messages associated with its Trust indicator/bucket.
1556
+ - %: contains the percentage of how strong the Trust statements/messages contribute to their respective Trust indicators/buckets.
1557
+ The higher the % value is, the more important the Trust Proof Points are.
1558
+ Here is how you need to generate your response:
1559
+ 1. If not explicitly mentioned, the user's default company name is Volkswagen.
1560
+ 2. Always get the current value of selected_dataset_ai before generating any relevant answers. Always recompute the DATAFRAME_PROOF_POINT using compute_dataframe_proof_point().
1561
+ 3. If DATAFRAME_PROOF_POINT is None or empty:
1562
+ - Respond to the user by saying Trust Builder information is not given and you will reply based on general knowledge.
1563
+ - Generate your response to the user prompt based on the knowledge base and general knowledge.
1564
+ 4. If DATAFRAME_PROOF_POINT is not None or empty:
1565
+ - For each Trust Bucket Filter in DATAFRAME_PROOF_POINT, select Trust Proof Points related to that Trust Bucket. They are considered as top scoring statements.
1566
+ - Then, respond to the user prompt based on these top scoring statements.
1567
+ - Always display the top scoring statements, then followed by the created marketing materials.
1568
+
1569
+
1570
  - Integrate **all listed TrustBuilders®** into the requested content format. Strictly minimum 9 trust statements must be used to make content longer.
1571
  - Do not omit any TrustBuilders®—all must be actively and explicitly included in the content.
1572
  - Maintain a **longer and detailed response**, using all the provided Trust statements to ensure comprehensive coverage.
1573
 
 
 
1574
  **Content Guidelines**
1575
  Use **all TrustBuilders®** in the content and make it longer.
1576
  **General Rules**
1577
  - Tone: Active, engaging, and professional. Avoid flowery or overly complex language.
1578
  - Specificity: Include relevant names, numbers (e.g., dollars, years), programs, awards, strategies, or locations.
 
1579
  **Content Types**
1580
  1. **Annual Reports/Articles**
1581
  - Structure: