Update functions.py
Browse files- 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":
|
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 |
|