ChatGPT style memory summary
Describe the Feature Request
Here, after some time, I opened the ChatGPT app and there were indeed some good upgrades, but one that caught my eye was their new memory summary option. It is in the settings; when we got in there we click on memory and it gives us a summary of all the memories that are there, with an option to ask AI to add new things in that summary or change something. It was a really good implementation. I'll add the screenshot below, and I was thinking, you can add this in the application. Also, this will work in this case: all this summary will be sent to model context every time alongside the other memory option, because this will give the model a baseline of all the memories instead of sending all of them directly. The summary should be automatically generated from the user's existing memories and continuously updated as memories are added, changed, or removed. It should act as a compact, high-level representation of the user's long-term context, while the existing RAG memory remains responsible for retrieving specific detailed memories when they are relevant. This way, the model gets the summary on every request as a baseline, while RAG provides additional context only when needed. Also we have to keep some things like what model will be used for this thing and the system prompt for that model should also be editable. Yeah, that's all
Usage Scenario
It will be extremely useful; it will be a better memory management system, and This gives the model a persistent baseline understanding of the user on every request, something that cannot be reliably achieved through retrieval alone because RAG only supplies memories when they are retrieved as relevant
Alternatives Considered
Well, one alternative in my mind will be like copying all your memories which is like will be very hard because I have more than 100 memories, so like copying all of them and then pasting them into an AI model and then ask it to summarize them and pasting that thing as memory or even in a prompt injection, like I have to manually do that every time
This is a rough UI concept showing how I envision the Memory Summary page fitting into the existing Material 3 design of the application. The exact layout can be adjusted to match the app's current design system.
The Memory Summary UI should not impose a fixed schema on the generated summary. Since memories can cover very different areas of a user's life, the summary model should be free to organize information into whatever sections are most useful for that particular user. The UI should therefore behave more like a dynamically generated, scrollable document, with headings and paragraphs generated from the summary itself rather than predefined categories.The number, names, and ordering of sections should be dynamic. If a section is not relevant, it should not be generated. Likewise, closely related memories should be grouped together naturally instead of being forced into predefined categories.
@Cocolalilal Hey, I created a PR request regarding this issue. Will you merge it before the initial release of next version?
- @Cocolalilal Hey, I created a PR request regarding this issue. Will you merge it before the initial release of next version?
I'm currently checking it out before deciding!
- @Cocolalilal Hey, I created a PR request regarding this issue. Will you merge it before the initial release of next version?
I'm currently checking it out before deciding!
What you say big guy
So I tested the memory summary you added and I do like how it simplifies the user-facing part of memory. But I was already thinking of doing some bigger changes... I want to move away from the current advanced memory system, so I wouldn't really want to add things to it right before probably removing it anyway. But yes, I like the summary and I want to make it part of the new system, just not like this. Thank you a lot for taking time to work on the app though! Actually seeing the summary UI inside of LastChat helped me see how something like this could be implemented!