Karthikeyan commited on
Commit
db3ba9e
·
1 Parent(s): 34a727e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -132,6 +132,7 @@ class Chatbot:
132
  qa = ConversationalRetrievalChain.from_llm(
133
  llm=OpenAI(temperature=0.5),
134
  retriever=retriever,
 
135
  return_source_documents=False)
136
  # Set the question for which we want to find the answer
137
  res = []
 
132
  qa = ConversationalRetrievalChain.from_llm(
133
  llm=OpenAI(temperature=0.5),
134
  retriever=retriever,
135
+ memory=ConversationBufferMemory(return_messages=True),
136
  return_source_documents=False)
137
  # Set the question for which we want to find the answer
138
  res = []