Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1902,7 +1902,7 @@ def handle_prompt(prompt):
|
|
| 1902 |
display_typing_indicator() # Specialized responses if keywords detected
|
| 1903 |
try:
|
| 1904 |
output = agent_executor.invoke({
|
| 1905 |
-
"input": f"{prompt}
|
| 1906 |
"chat_history": st.session_state.chat_history
|
| 1907 |
})
|
| 1908 |
full_response = output["output"]
|
|
|
|
| 1902 |
display_typing_indicator() # Specialized responses if keywords detected
|
| 1903 |
try:
|
| 1904 |
output = agent_executor.invoke({
|
| 1905 |
+
"input": f"{prompt} Avoid flowery language and AI-Jargon.Do-not mention trustbucket names literally and word 'trust' in the copy applications.*Use only knowledgebase when asked about top trust buckets or Top trust builders give exactly those which was asked*. Give valid sources",
|
| 1906 |
"chat_history": st.session_state.chat_history
|
| 1907 |
})
|
| 1908 |
full_response = output["output"]
|