Wajahat698 commited on
Commit
7a283f1
·
verified ·
1 Parent(s): b470c13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.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"]