You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
memory = ConversationBufferMemory(
memory_key="chat_history",
chat_memory=message_history,
input_key="question",
output_key="answer",
return_messages=True,
)
qa = ConversationalRetrievalChain.from_llm(
llm=llm,
retriever=faiss_index.as_retriever(),
memory=memory, # works if i dont use this option
return_source_documents=True,
)`
i have tried with different versions of langchain and langchain-community versions without any luck
The text was updated successfully, but these errors were encountered:
does the issue persist with the latest version of the code (which is using DynamoDB as memory)? Can you please also verify that the issue occurs with a more recent Python version (at least 3.11 or 3.12)?
Hello ,
i have followed the use case and got everything to work except when i use dynamodb for memory i always get the error.
` message_history = DynamoDBChatMessageHistory(
table_name=MEMORY_TABLE, session_id=conversation_id
)
i have tried with different versions of langchain and langchain-community versions without any luck
The text was updated successfully, but these errors were encountered: