Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -240,7 +240,7 @@ def embed_text(query,embedding_model,_docsearch):
|
|
240 |
memory = memory,
|
241 |
return_source_documents=True)
|
242 |
|
243 |
-
answer = chain({"
|
244 |
|
245 |
return answer
|
246 |
|
|
|
240 |
memory = memory,
|
241 |
return_source_documents=True)
|
242 |
|
243 |
+
answer = chain({"question": query})
|
244 |
|
245 |
return answer
|
246 |
|