NameIsJACK commited on
Commit
7817e5f
·
1 Parent(s): a910a00

new commit

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -121,7 +121,7 @@ def process_prompt(prompt):
121
  global chat_history
122
  global conversation_retrieval_chain
123
 
124
- output = conversation_retrieval_chain({"question": prompt, "chat_history": chat_history})
125
  answer = output["result"]
126
 
127
  chat_history.append((prompt, answer))
 
121
  global chat_history
122
  global conversation_retrieval_chain
123
 
124
+ output = conversation_retrieval_chain({"question": prompt+"you should only give answer to the question ,do not give any other information", "chat_history": chat_history})
125
  answer = output["result"]
126
 
127
  chat_history.append((prompt, answer))