-
Notifications
You must be signed in to change notification settings - Fork 16.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConversationSummaryBufferMemory does not work as expected with MongoDBChatMessageHistory #21610
Comments
I tried on my local machine and everything is working as expected. Can you please check your mongodb and see if messages are being stored in the desired collection??? |
I'm facing the same issue with PostgresChatMessageHistory.
|
@keenborder786 yes messages are being stored in the given collection. |
Hope this will be fixed with #11374. |
Hi, @Sameera2001Perera, I'm Dosu, and I'm helping the LangChain team manage their backlog. I'm marking this issue as stale. It seems that you reported a bug where Could you please let me know if this issue is still relevant to the latest version of the LangChain repository? If it is, kindly comment on this issue to inform the LangChain team. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days. Thank you! |
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Current conversation:
Human: Hi, what's up?
AI:
Current conversation:
System:
The human greets the AI and asks about its capabilities. The AI explains that it is a program designed and created by a team of developers at OpenAI, constantly learning and improving through algorithms and data sets. It also mentions its powerful processor and memory. The human is curious to know more.
Human: Hi, what's up?
AI: Hello! I am an AI program designed and created by a team of developers at OpenAI. Currently, I am running on a server with a powerful processor and a lot of memory, allowing me to process and store vast amounts of information. I am constantly learning and improving my abilities through various algorithms and data sets. Is there something specific you would like to know or discuss?
Human: Just working on writing some documentation!
AI:
Current conversation:
System:
The human greets the AI and asks about its capabilities. The AI explains that it is a program designed and created by a team of developers at OpenAI, constantly learning and improving through algorithms and data sets. It also mentions its powerful processor and memory. The human is curious to know more and the AI offers its assistance, stating that it has access to a vast amount of information and can help with any questions about documentation. The human also shares that they are currently working on writing documentation.
Human: Hi, what's up?
AI: Hello! I am an AI program designed and created by a team of developers at OpenAI. Currently, I am running on a server with a powerful processor and a lot of memory, allowing me to process and store vast amounts of information. I am constantly learning and improving my abilities through various algorithms and data sets. Is there something specific you would like to know or discuss?
Human: Just working on writing some documentation!
AI: That's great to hear! I have access to a vast amount of information and can assist you with any questions you may have. Is there a specific topic or area you need help with in your documentation?
Human: For LangChain! Have you heard of it?
AI:
Description
Although the conversation is summarized, the entire chat conversation is still sent to llm without pruning the summarized chats. However, this works as expected with default in-memory list in ConversationSummaryBufferMemory.
Example (work as expected):
Expected output:
Current conversation:
Human: Hi, what's up?
AI:
Current conversation:
System:
The human greets the AI and asks how it is doing. The AI responds by saying it is an AI and its servers are running smoothly. The AI also offers to assist the human with any questions or tasks.
Human: Just working on writing some documentation!
AI:
Current conversation:
System:
The human greets the AI and asks how it is doing. The AI responds by saying it is an AI and its servers are running smoothly. The AI also offers to assist the human with any questions or tasks, mentioning its lack of fatigue or boredom. The human mentions working on writing documentation, to which the AI offers its assistance and asks for specific needs.
Human: For LangChain! Have you heard of it?
AI:
System Info
langchain==0.1.17
langchain-community==0.0.36
langchain-core==0.1.50
langchain-mongodb==0.1.3
The text was updated successfully, but these errors were encountered: