Discussion on Chat Memory components #75
Replies: 5 comments
-
From @anakin87 While preparing a notebook on Tools, I needed some form of short-term memory of the conversation. Unfortunately, I have encountered some roadblocks with the Main problems I have encountered:
I am aware of the ongoing work on the ChatMessageRetriever (see deepset-ai/haystack#8258), but my impression is that most of these issues will remain. Given that my use case is not very exotic, I think it would be beneficial to reflect on how to improve and make this experimental component more flexible. |
Beta Was this translation helpful? Give feedback.
-
I want to leave my feedback as well and say that I greatly appreciate the Chat Memory components and think they are very useful. In my case I've used them for bootstrapping small examples I can show to colleagues. However, I just want to point out a small inconsistency in the cookbook. In Build The Pipeline it says that a |
Beta Was this translation helpful? Give feedback.
-
About the
We should also have a way when running the pipeline to inject ChatMessages in the |
Beta Was this translation helpful? Give feedback.
-
Also I believe that in CookBooks we shouldn't showcase the usage of Memory/History by feeding the history in a single big prompt. The proper way is to feed a list of ChatMessage in chronological order directly to the ChatGenerator. |
Beta Was this translation helpful? Give feedback.
-
I am attaching my feature request here so the devs can keep track of it: Session Based chat message store. I would like to make an addition as well other than the session idea: -- Being able to load a conversation through a dictionary. Open WebUI's pipelines provide the conversation in the form of a dictionary. So if you want to resume a conversation that is not saved on memory, you can do so by using the dictionary. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is the discussion board for a group of experimental components introduced as a solution to implement chat memory for chat with RAG-like use-cases.
🧑🍳 Try the Cookbook here
Let us know how you get along with these components, and please do let us know if you have any feedback.
PS: The contributor for the first version of these experimental components is @vblagoje 🚀
Beta Was this translation helpful? Give feedback.
All reactions