mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-12 02:54:03 -05:00
[GH-ISSUE #10153] upload a file to the knowledge [ 400: Embedding dimension ] with 0.5.11 & 0.5.12 #54451
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 @j820301 on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10153
Bug Report
Installation Method
[Docker compose]
Environment
Open WebUI Version: [0.5.12]
Ollama (if applicable): [0.5.7]
Operating System: [Ubuntu 24.04.2 LTS]
Browser (if applicable): [ Edge、Chrome]
Confirmation:
Description
Bug Summary:
[When I upload a file to the knowledge zone, an error occurs, [400: Embedding dimension]. This issue occurred after version 0.5.11 and still exists after updating to version 0.5.12.]
Reproduction Details
Steps to Reproduce:
[ Updated to 0.5.11 and 0.5.12, when I upload a file to the knowledge zone and select a non-default Embedding Model, an error occurs: [400: Embedding dimension]. ]
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
Additional Information
It's worth noting that this issue did not exist in version 0.5.10, and changing the Embedding Model to the default Sentence option also does not reproduce the problem. This issue only occurs in versions 0.5.11 and 0.5.12 when a non-default model is used.
Thank you again for the developers' hard work, and I hope this issue will be addressed. It's a problem that didn't exist before.
@tjbck commented on GitHub (Feb 17, 2025):
If you update your embedding model you should reset/delete your existing knowledge.
@j820301 commented on GitHub (Feb 17, 2025):
Thank you for the developer's prompt response, which perfectly solved my problem. Thank you again for your hard work.
@weicheng59 commented on GitHub (Feb 17, 2025):
anyway to keep existing knowledge after changing to a new embedding model?
do i need to manually upload files after reset?
@j820301 commented on GitHub (Feb 18, 2025):
I tried and it requires re-uploading the data, but if there's an update in the future that can automatically re-embed the knowledge base, that would be a great feature.