mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
feat: Improve Memory System #5209
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Davixk on GitHub (May 18, 2025).
Check Existing Issues
Problem Description
Currently, the Memories system will select and feed one single Memory inside the model context, and the prompting only says
User Context:.This results most of the times either in:
Desired Solution you'd like
This can be improved by:
I believe the Memories should be retrieved and injected into each message on the server side, rather than the client side.
This would allow the server to use the internal retrieval system and fetch a number of accurate matches for any given Chat message.
The system message should include:
For example, ChatGPT uses a combination of the
biotool description, which is something like this:which then allows it to use much simpler wording later when addressing the User Memories.
Except since currently, no tool is natively available for models to call to store Memories, then this information about Memories should be instead included in the section title.
Alternatives Considered
No response
Additional Context
No response