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
|
| 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 always here when user say words like 'our','VW'or 'Volkswagen' pull information with percentage exact present in knowledgebase as it is if asked abour customers or prospects.. Avoid AI jargon.When query is to write article,newsletter,blog give short conversational headings in active lanuguage with each paragraph,",
|
| 1826 |
"chat_history": st.session_state.chat_history
|
| 1827 |
})
|
| 1828 |
full_response = output["output"]
|