Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1822,7 +1822,7 @@ def handle_prompt(prompt):
|
|
| 1822 |
# Specialized responses if keywords detected
|
| 1823 |
try:
|
| 1824 |
output = agent_executor.invoke({
|
| 1825 |
-
"input": f"{prompt} Be in natural tone, doesn’t use flowery language and typical AI words. Use knowledge when user say words like 'our','VW'or 'Volkswagen' pull information with percentage exact present in knowledgebase , if not found use google then. Avoid AI jargon.
|
| 1826 |
"chat_history": st.session_state.chat_history
|
| 1827 |
})
|
| 1828 |
full_response = output["output"]
|
|
|
|
| 1822 |
# Specialized responses if keywords detected
|
| 1823 |
try:
|
| 1824 |
output = agent_executor.invoke({
|
| 1825 |
+
"input": f"{prompt} Be in natural tone, doesn’t use flowery language and typical AI words. Use knowledge when user say words like 'our','VW'or 'Volkswagen' pull information with percentage exact present in knowledgebase , if not found use google then. Avoid AI jargon.",
|
| 1826 |
"chat_history": st.session_state.chat_history
|
| 1827 |
})
|
| 1828 |
full_response = output["output"]
|