Spaces:
Sleeping
Sleeping
Update app.py
Browse files1554 unmodified lines15551556155715581559156015612 unmodified lines156415651566156715681569157015711572157315741575157615 unmodified lines15921593159415951596159715981554 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.- **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.- **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.- 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_with_tools = llm.bind_tools(tools)except Exception as e:logger.error(f"Error creating Langchain Agent: {e}")1554 unmodified lines15551556155715581559156015612 unmodified lines156415651566156715681569157015711572157315741575157615 unmodified lines15921593159415951596159715981554 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 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**: 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 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.6)llm_with_tools = llm.bind_tools(tools)except Exception as e:logger.error(f"Error creating Langchain Agent: {e}")
app.py+4-4