Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -204,7 +204,7 @@ def embed_text(query,title,embedding_model,_docsearch):
|
|
204 |
chain_type_kwargs = {"prompt": prompt}
|
205 |
|
206 |
chain = VectorDBQA.from_chain_type(
|
207 |
-
llm=
|
208 |
chain_type="stuff",
|
209 |
vectorstore=_docsearch,
|
210 |
chain_type_kwargs=chain_type_kwargs,
|
|
|
204 |
chain_type_kwargs = {"prompt": prompt}
|
205 |
|
206 |
chain = VectorDBQA.from_chain_type(
|
207 |
+
llm=chat_llm,
|
208 |
chain_type="stuff",
|
209 |
vectorstore=_docsearch,
|
210 |
chain_type_kwargs=chain_type_kwargs,
|