mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #12600] issue:The knowledge base is invalid, and the log warning indicates that there is an issue with chromadb during query_vector. The specific content of the log is: chromadb.segment.impl.vector.local_persistent_hnsw:query_vectors:423 - Nu… #16653
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 @eioaaa on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12600
Check Existing Issues
Installation Method
Other
Open WebUI Version
0.6.0
Ollama Version (if applicable)
No response
Operating System
ubuntun
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When conducting Q&A, the large model should retrieve knowledge base files from my knowledge space, and then answer questions based on the content of the knowledge base.
Actual Behavior
During the process of answering, the knowledge base could not be retrieved, which means that all the knowledge bases I uploaded previously have become ineffective. For comparison, I re-uploaded a knowledge base file, and this new file can be retrieved.
Steps to Reproduce
1.Upload the knowledge base
2.Ask questions to the large model
3.The large model searches the knowledge base to answer the questions (at this point, the issue of not being 4.able to retrieve the knowledge base arises)
Logs & Screenshots
Additional Information
No response
@eioaaa commented on GitHub (Apr 8, 2025):
Additionally, I cannot find my chromadb file. I want to check if there is any content in this file. Could you please tell me where I should look for this file?
@mahenning commented on GitHub (Apr 8, 2025):
You can find the chromadb folder in
backend/data/vector_dbin your open-webui folder structure. Thevector_dbflder is your chromadb. In a docker container the data folder should be mounted to a volume.Did you change the embedding model, or changed the embedding parameters like chunk size etc? The fact that it is working with a re-upload and that no vectors can be retrieved wtih hte old knowledge idicate that.
@eioaaa commented on GitHub (Apr 8, 2025):
I was deployed in Apptainer and I had not changed the embedding model and its parameters, so I was a little confused as to why the knowledge base was suddenly implemented