wholewhale commited on
Commit
f78ca4e
·
1 Parent(s): 9f3097f

system context

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def infer(question, history):
57
 
58
  chat_history = res
59
  query = question
60
- result = qa({"question": query, "chat_history": chat_history})
61
  return result["answer"]
62
 
63
  def auto_clear_data():
 
57
 
58
  chat_history = res
59
  query = question
60
+ result = qa({"question": query, "chat_history": chat_history, "system:":"This is a world-class summarizing AI, be helpful."})
61
  return result["answer"]
62
 
63
  def auto_clear_data():