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

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. Give short headings in conversational language with each paragraph in content of articles, blogs, write-ups, and newsletters, keeping the mentioned format only when asked.",
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"]