Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -754,7 +754,7 @@ if prompt :
|
|
| 754 |
try:
|
| 755 |
# Generate response using the agent executor
|
| 756 |
output = agent_executor.invoke({
|
| 757 |
-
"input": f"{prompt}.
|
| 758 |
|
| 759 |
"chat_history": st.session_state.chat_history
|
| 760 |
})
|
|
|
|
| 754 |
try:
|
| 755 |
# Generate response using the agent executor
|
| 756 |
output = agent_executor.invoke({
|
| 757 |
+
"input": f"{prompt}.Be specific with $ amounts ,facts,figures.Specificty means finding examples and offering the specific fact related to it.trictly follow words (write more than the mentioned words in case of article or news letter) and already mention instructions.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. ",
|
| 758 |
|
| 759 |
"chat_history": st.session_state.chat_history
|
| 760 |
})
|