Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -779,12 +779,9 @@ if prompt :
|
|
| 779 |
try:
|
| 780 |
# Generate response using the agent executor
|
| 781 |
output = agent_executor.invoke({
|
| 782 |
-
|
| 783 |
-
|
| 784 |
-
|
| 785 |
-
f"find ways to connect the seemingly unconnected like the lawyer example"
|
| 786 |
-
f"Always consult the knowledge base for accurate guidelines and google search for details specificity and sources. For newsletter-related queries, include relevant heuristics and creative techniques. "
|
| 787 |
-
f"{prompt}",
|
| 788 |
|
| 789 |
"chat_history": st.session_state.chat_history
|
| 790 |
})
|
|
|
|
| 779 |
try:
|
| 780 |
# Generate response using the agent executor
|
| 781 |
output = agent_executor.invoke({
|
| 782 |
+
|
| 783 |
+
"input": f"{prompt}MUST INCLUDE be over specific means including names, numbers, programs, awards, actions. in all trustbuilder related questions.When query is related to newsletters give always heuristics and creative techniques. ",
|
| 784 |
+
|
|
|
|
|
|
|
|
|
|
| 785 |
|
| 786 |
"chat_history": st.session_state.chat_history
|
| 787 |
})
|