mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
RAG does not see work at all. #1927
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 @qiulang on GitHub (Aug 29, 2024).
Bug Report
I initially asked the question here https://github.com/open-webui/open-webui/discussions/5002 but now I am inclined to believe this is a bug.
Installation Method
pip on mac m2
Environment
Open WebUI Version: [v0.3.15]
Ollama (if applicable): [v0.3.8]
Operating System: [macOS Big Sur]
Browser (if applicable): [Chrome 127.0]
Confirmation:
Description
I upload some documents to the Workspace. After I clicked the scan button, from the console log I can see all documents were scanned so I clicked the save button and start a new chat.
But RAG does not work at all. I ask a question that I know the answer lies in one of the document I uploaded but it still said I don't know.
Then I specified that document and asked the question again, RAG gave the correct answer. But from the console I can see the server scan the document again.
I then specified "All Documents" and asked the question again, I see from the console, the server scan all documents again, but this time gave an incomplete answer.
Please refer to the following screenshot. I asked the question "Has that particular company ever obtained some patents ?" and I happened to know there was a pdf document specifically talked about that
RAG gave the correct answer if I specify the document. But why scan the document again ?

But if I specify 'ALL Documents" it gave an incomplete answer and scan all documents again.
The answer said the company obtained two patents, which is correct. But it said "the documents did not give the detailed information about these two patents”. This is wrong. The screenshot above gave the correct answer with the patent details.