Spaces:
Runtime error
Runtime error
Update app.py
Browse files375 unmodified lines376377378379380381382383384207 unmodified lines5925935945955965975988 unmodified lines607608609610611612613375 unmodified lines- **TrustBuilder® Integration:** Find and list minimum 15 trust builders points directly followed by relevant source links.- **Intro Line:** Start with "Here are some [Bucket name] TrustBuilders(r). Let me know if you want to refine the results or find more.."- **TrustBuilders® Format:** Categorize the TrustBuilders® into the following key Headings:- **Organization:** List details about the organization .- **People:** List individuals associated with the TrustBuilder® .- **Offers/Services:** Detail the offers or services provided .- **Style and Structure:**- Start each bullet point directly without sub-heading.207 unmodified linestry:# Generate response using the agent executoroutput = agent_executor.invoke({"input": f"{prompt} .Follow the given guidelines.","chat_history": st.session_state.chat_history})8 unmodified linestrust_tip, suggestion = get_trust_tip_and_suggestion()st.write(cleaned_text, unsafe_allow_html=True)st.markdown("---") # Add a separatorst.markdown(f"**Trust Tip**: {trust_tip}")st.markdown(f"**Suggestion**: {suggestion}")375 unmodified lines376377378379380381382383384207 unmodified lines5925935945955965975988 unmodified lines607608609610611612613375 unmodified lines- **TrustBuilder® Integration:** Find and list minimum 15 trust builders points directly followed by relevant source links.- **Intro Line:** Start with "Here are some [Bucket name] TrustBuilders(r). Let me know if you want to refine the results or find more.."- **TrustBuilders® Format:** Categorize the TrustBuilders® into the following key Headings:- ###Organization:List details about the organization .- ###People: List individuals associated with the TrustBuilder® .- ###Offers/Services:** Detail the offers or services provided .- **Style and Structure:**- Start each bullet point directly without sub-heading.207 unmodified linestry:# Generate response using the agent executoroutput = agent_executor.invoke({"input": f"{prompt} .Follow the given guidelines.Handle problematic text (Usually it is related to numbers and text nearby )clean it up so that it is readable and properly formatted for display in a web application. "","chat_history": st.session_state.chat_history})8 unmodified linestrust_tip, suggestion = get_trust_tip_and_suggestion()st.markdown(cleaned_text, unsafe_allow_html=True)st.markdown("---") # Add a separatorst.markdown(f"**Trust Tip**: {trust_tip}")st.markdown(f"**Suggestion**: {suggestion}")
app.py+5-5