Spaces:
Paused
Paused
Update app.py
Browse files510 unmodified lines511512513514515516517510 unmodified linestry:# Generate response using the agent executoroutput = agent_executor.invoke({"input": f"{prompt} must Be specific with numbers, dates, people, and $dollar amounts . 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.**DO NOT CREATE Too MANY HEADINGS IF ASKED TO WRITE ANNUAL REPORT Incase of annual report write headings for the example proof points, creative techniques used & heuristics. NOTE: Write Always as nicely flowing text and Create an active language headline. Not use colons in the sub-headers and use a creative technique in every headline and sub-header. Interweave the examples contextually and create the meaning for donors and beneficiaries.","chat_history": st.session_state.chat_history})full_response = output["output"]510 unmodified lines511512513514515516517510 unmodified linestry:# Generate response using the agent executoroutput = agent_executor.invoke({"input": f"{prompt} must Be specific with numbers, dates, people, and $dollar amounts . 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.** When asked to write annual report write in paragraphs with one main heading and create sub-headings for the example proof points, creative techniques used & heuristics. NOTE: Write Always as nicely flowing text and Create an active language headline. Not use colons in the sub-headers and use a creative technique in every headline and sub-header. Interweave the examples contextually and create the meaning for donors and beneficiaries.","chat_history": st.session_state.chat_history})full_response = output["output"]
app.py+1-1