ali121300 commited on
Commit
a58ed56
1 Parent(s): f88833e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def get_conversation_chain(vectorstore:FAISS) -> ConversationalRetrievalChain:
60
 
61
  memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
62
  conversation_chain = ConversationalRetrievalChain.from_llm(
63
- llm=llm, retriever=vectorstore.as_retriever()
64
  )
65
  return conversation_chain
66
 
 
60
 
61
  memory = ConversationBufferMemory(memory_key="chat_history", return_messages=True)
62
  conversation_chain = ConversationalRetrievalChain.from_llm(
63
+ llm=llm, retriever=vectorstore.as_retriever(),memory=memory
64
  )
65
  return conversation_chain
66