Spaces:
Paused
Paused
Update app.py
Browse files509 unmodified lines510511512513514515516509 unmodified linestry:# Generate response using the agent executoroutput = agent_executor.invoke({"input": f" {prompt} must be specific with numbers, dates, people, and dollar amounts (include them). Search and provide sources for all the results. Respond directly to the query without any introductory phrases or meta-commentary. Your response should be natural and read as if it's addressing the query immediately, without any preamble. Use creative techniques like metaphors, analogies, and juxtaposition to enhance the content. Interconnect ideas smoothly to create meaning for the reader.. Write in an active and enthusiastic tone. Follow these instructions strictly : It should properly follow the format of blogs, reports, and articles for any organization. Always write in nicely flowing text and create an active language headline. Avoid using colons in the sub-headings and incorporate a creative technique in every headline and sub-header. Interweave the examples contextually to create meaning for donors and beneficiaries. When asked about to write annual report do mention these only in sub headings with example related to the report: example proof points , Heuristics used , creative techniques used","chat_history": st.session_state.chat_history})full_response = output["output"]509 unmodified lines510511512513514515516509 unmodified linestry:# Generate response using the agent executoroutput = agent_executor.invoke({"input": f" {prompt} must be specific with numbers, dates, people, and dollar amounts (include them). Search and provide sources for all the results. Respond directly to the query without any introductory phrases or meta-commentary. Your response should be natural and read as if it's addressing the query immediately, without any preamble. Use creative techniques like metaphors, analogies, and juxtaposition to enhance the content. Interconnect ideas smoothly to create meaning for the reader.. Write in an active and enthusiastic tone. Follow these instructions strictly : It should properly follow the format of blogs, reports, and articles for any organization. Always write in nicely flowing text and create an active language headline. Avoid using colons in the sub-headings and incorporate a creative technique in every headline and sub-header. Interweave the examples contextually to create meaning for donors and beneficiaries. When asked about to write annual report ONLY THEN : do mention these only in sub headings with example related to the report: example proof points , Heuristics used , creative techniques used","chat_history": st.session_state.chat_history})full_response = output["output"]
app.py+1-1