nickmuchi commited on
Commit
d18bfbf
1 Parent(s): 305058a

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -235,7 +235,7 @@ def embed_text(query,embedding_model,_docsearch):
235
  qa_prompt = load_prompt(),
236
  return_source_documents=True)
237
 
238
- answer = chain({"question": question, "chat_history": chat_history})
239
 
240
  return answer
241
 
 
235
  qa_prompt = load_prompt(),
236
  return_source_documents=True)
237
 
238
+ answer = chain({"question": query, "chat_history": chat_history})
239
 
240
  return answer
241