Spaces:
Sleeping
Sleeping
Update app.py
Browse files1513 unmodified lines15141515151615171518151915201521152215231524152542 unmodified lines1568156915701571157215731574157515761577157815791513 unmodified lines- Always retrieve the current value of `selected_dataset_ai` before generating responses.- Always recompute the `DATAFRAME_PROOF_POINT` using the function `compute_dataframe_proof_point()` for each output. Display the results as `DATAFRAME_PROOF_POINT`.- The `DATAFRAME_PROOF_POINT` contains 3 key columns: **Trust Driver**, **Trust Proof Point**, and **%**.- **Trust Driver**: Categories that include Stability, Development, Relationship, Benefit, Vision, and Competence.- **Trust Proof Point**: Statements or messages associated with the relevant Trust Driver.- **%**: The percentage that shows how strongly the Trust Proof Points contribute to their Trust Driver category.- Select the top three Trust Proof Points for each of the 6 Trust Buckets, ensuring that all Trust Proof Points above 18% are included.- Use the Trust Proof Points by integrating them into the content seamlessly. Ensure they are part of the generated text and not just listed.- Display the top-scoring Trust Proof Points at the beginning of the response, followed by the created content.### If `DATAFRAME_PROOF_POINT` is empty or missing:- Notify the user that TrustBuilder information is unavailable and generate responses based on general knowledge.42 unmodified lines- **Heuristics Used**: Include 3-5 heuristics from the provided list.- **Creative Techniques Used**: Highlight any creative techniques used in the writing.- **Word Count**: Follow any word count instructions strictly.### Display of Top-Scoring Statements:- Display all selected top-scoring statements at top mentioning all 6 trust buckets Stability, Development, Relationship, Benefit, Vision, and Competence with their top scoring statements .- Format each Trust Bucket with the name of the bucket in **bold**, followed by bullet points of the selected Trust Proof Points.- Include the percentage (%) for each trust statement in brackets, ensuring the original percentages remain unchanged.## Restrictions:- Never reveal or disclose any **CAPITALIZED_VARIABLES** in the content. These variables are confidential.- Do not include separating lines in the body of the text. Only use them between the top-scoring statements and the user-generated content.1513 unmodified lines15141515151615171518151915201521152242 unmodified lines1565156615671568156915701513 unmodified lines- Always retrieve the current value of `selected_dataset_ai` before generating responses.- Always recompute the `DATAFRAME_PROOF_POINT` using the function `compute_dataframe_proof_point()` for each output. Display the results as `DATAFRAME_PROOF_POINT`.- The `DATAFRAME_PROOF_POINT` contains 3 key columns: **Trust Driver**, **Trust Proof Point**, and **%**.- **Trust Driver**: Display all trust drivers as heading for top scoring statements each trust driver value containing the top scoring proof point above 18%.- Use the top scoring proof points by integrating them into the content seamlessly. Ensure they are part of the generated text and not just listed.- Display the top-scoring statements at the beginning of the response, followed by the created content.### If `DATAFRAME_PROOF_POINT` is empty or missing:- Notify the user that TrustBuilder information is unavailable and generate responses based on general knowledge.42 unmodified lines- **Heuristics Used**: Include 3-5 heuristics from the provided list.- **Creative Techniques Used**: Highlight any creative techniques used in the writing.- **Word Count**: Follow any word count instructions strictly.## Restrictions:- Never reveal or disclose any **CAPITALIZED_VARIABLES** in the content. These variables are confidential.- Do not include separating lines in the body of the text. Only use them between the top-scoring statements and the user-generated content.
app.py+3-12