mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
Re-embedding memory when model changes #2908
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 @Fusseldieb on GitHub (Dec 3, 2024).
Feature Request
Is your feature request related to a problem? Please describe.
Yes, if we change the embedding model to any other, the embedding vectors themselves get lost, and there is no way to recreate them unless we delete and re-add all memories, which are a lot in my case.
Describe the solution you'd like
A button that goes through each memory and re-embedds it. So, if the vector database got wiped, this button would re-embed everything. In fact, this would ideally make more sense to be a global option that re-embeds it for every user.
Describe alternatives you've considered
Restarting OpenWebUI, changing embedding models, etc. Only "Updating" a memory re-creates the embedding for that particular memory.
Additional context
-