Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -607,7 +607,7 @@ if prompt :
|
|
| 607 |
try:
|
| 608 |
# Generate response using the agent executor
|
| 609 |
output = agent_executor.invoke({
|
| 610 |
-
"input": f"{prompt} .Follow the guidelines
|
| 611 |
|
| 612 |
"chat_history": st.session_state.chat_history
|
| 613 |
})
|
|
|
|
| 607 |
try:
|
| 608 |
# Generate response using the agent executor
|
| 609 |
output = agent_executor.invoke({
|
| 610 |
+
"input": f"{prompt} .Follow the guidelines mentioned .Handle problematic text (Usually it is related to numbers, figures and text nearby )clean it up make spaced so that it is readable and properly formatted for display in a web application. Avoid any unusual line breaks or formatting issues. Always provide sources links with trust builders. Find right trust builders, do not mix please. ",
|
| 611 |
|
| 612 |
"chat_history": st.session_state.chat_history
|
| 613 |
})
|