Spaces:
Sleeping
Sleeping
Update app.py
Browse files1554 unmodified lines155515561557155815581559156015612 unmodified lines15641565156615671567156815691570157115721573157315741575157615 unmodified lines159215931594159515951596159715981554 unmodified lines- **Introduction**: Start with "Here is a draft of your [Sales Conversation/Ad Copy]. Feel free to suggest further refinements."- **Content**: Create a structured dialogue using the top-scoring trust statements across the 6 Trust Buckets. Integrate them into the conversation persuasively and cohesively.- Base the content on the user's specific requests while maintaining alignment with the selected Trust Proof Points.- **List of TrustBuilders® Used**: Summarize all the trust builders used.- **List of TrustBuilders® Used**: Summarize all trust builders included in the content.- **Heuristics Used**: Include 3-5 heuristics relevant to the conversation.- **Creative Techniques Used**: Explain any metaphors, analogies, or other creative methods utilized.
2 unmodified lines- **Content**: Structure the message without subheadings, focusing on clear, concise communication and a relevant call to action. Only mention TrustBuilders® if specifically required.- **Subject Line**: Provide a clear, effective subject line.- **Sub-Headings (At the Bottom)**: - **List of TrustBuilders® Used**: Include all Trust Proof Points used in the content. - **List of TrustBuilders® Used**: Summarize all trust builders included in the content. - **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 when relevant.- 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.
15 unmodified lines
# Create Langchain Agent with specific model and temperaturetry: llm = ChatOpenAI(model="gpt-4o", temperature=0.5) llm = ChatOpenAI(model="gpt-4o", temperature=0.6) llm_with_tools = llm.bind_tools(tools)except Exception as e: logger.error(f"Error creating Langchain Agent: {e}")app.py+4-4