nickmuchi commited on
Commit
c0bba9c
1 Parent(s): 74338cd

Update functions.py

Browse files
Files changed (1) hide show
  1. functions.py +1 -1
functions.py CHANGED
@@ -230,7 +230,7 @@ def embed_text(query,embedding_model,_docsearch):
230
  # return_source_documents=True)
231
 
232
  chain = ConversationalRetrievalChain.from_llm(chat_llm,
233
- retriever= _docsearch.as_retriever(search_kwargs={"k": 3})),
234
  get_chat_history=lambda h : h,
235
  memory = memory,
236
  return_source_documents=True)
 
230
  # return_source_documents=True)
231
 
232
  chain = ConversationalRetrievalChain.from_llm(chat_llm,
233
+ retriever= _docsearch.as_retriever(search_kwargs={"k": 3}),
234
  get_chat_history=lambda h : h,
235
  memory = memory,
236
  return_source_documents=True)