mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #12094] issue: Unable to Perform Vector Search Despite Having EMBEDDING Vectors in the Database #55135
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 @chalitbkb on GitHub (Mar 26, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12094
Encountered two main problems
• After thoroughly configuring all settings and using the OpenAI API for embeddings to successfully upload the data file, I attempted to initiate a RAG query by asking a question. However, I discovered that the system was unable to search the VECTOR_DB data, even though the data exists in the database.
• Additionally, I encountered a problem uploading files: while the file named "heroui.md" successfully uploaded and began the embeddings process, the file named "nextdata.md" failed to upload.
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
Chrome 134.0.6998.118
Confirmation
README.md.Expected Behavior
• When users upload data files via the OpenAI API for embeddings and initiate a RAG query, the system should be able to:
1. Perform the embeddings process successfully for all files.
2. Search the VECTOR_DB for relevant information based on the uploaded embedding vectors without any errors.
Actual Behavior
• Despite having successfully uploaded one data file and confirmed the presence of embedding vectors, the system failed to retrieve any information from the VECTOR_DB for that file.
• The file named "heroui.md" was able to upload and proceed with embeddings, but another file named "nextdata.md" failed to upload at all.
Steps to Reproduce
Logs & Screenshots
Below are sample files where I’m experiencing this issue. Please note that "heroui.md" relates to the VECTOR_DB retrieval problem, whereas "nextdata.md" pertains to the unsuccessful upload issue. Even after changing the extension to .txt, the problem persisted.
heroui.md
nextdata.md
It can be seen that Knowledge has been selected from the Collection

Begin the process of testing by asking related questions. Notice that the data retrieval process is operating normally, indicating that VECTOR_DB data search has been enabled.

These are the results where relevant data could not be found even though data exists in the database. I tried several times but still no success.

Additional Information
I tried adding data myself, and was sometimes able to perform vector searches normally.