rohan13 commited on
Commit
d09013d
·
1 Parent(s): 789c315

removing old get_chat_history

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -196,7 +196,7 @@ def get_qa_chain(vectorstore_index):
196
  search_kwargs={"score_threshold": .76})
197
 
198
  chain = ConversationalRetrievalChain.from_llm(llm, retriever, return_source_documents=True,
199
- verbose=True, get_chat_history=get_chat_history,
200
  combine_docs_chain_kwargs={"prompt": CHAT_PROMPT})
201
  return chain
202
 
 
196
  search_kwargs={"score_threshold": .76})
197
 
198
  chain = ConversationalRetrievalChain.from_llm(llm, retriever, return_source_documents=True,
199
+ verbose=True,
200
  combine_docs_chain_kwargs={"prompt": CHAT_PROMPT})
201
  return chain
202