Cant make memory work with ConversationalRetrievalChain #6156
Unanswered
levalencia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have simple txt file indexed in pine cone, and question answering works perfectly fine without memory.
When I add ConversationBufferMemory and ConversationalRetrievalChain using session state the 2nd question is not taking into account the previous conversation.
1st Question: Who is John Doe?
He is a male, 70 years old, etc,etc
2nd Question. How old is he?
To who are you referring to?
But chat history looks like this:
MY code looks like this, what am I missing?
Beta Was this translation helpful? Give feedback.
All reactions