mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #13807] issue: #32569
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 @Urvesh71 on GitHub (May 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/13807
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.7
Ollama Version (if applicable)
0.6.5
Operating System
Ubuntu
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
While I do perform RAG with Document in Open WebUI, I am not getting a correct answers. I do not know what is wrong with it. When I upload the PDF and ask the question, everyatime it answers that there is not content provided. Thats how I dont get the asnwer to my question from the PDF.
What I expect:
I expect to get the answer of my question from the uploaded PDF.
What I have selected as parameters for RAG:
In Admin Panel -> Settings -> Documents:
• Content Extraction - Default
• PDF Extract Images (OCR) : Default
• Bypass Embedding and Retrueval : Off
• Text Splitter: Default (Character)
• Chunk Size: 1000 with 100 as a overlap
• Embedding Model Engine: Default (Setence Transformer) sentence-transformers/all-MiniLM-L6-v2
• Full Context Mode: Off
• Hybrid Search: Tried both On / Off, but when on, i used below params
- Reranking model: BAAI/bge-reranker-v2-m3
- Top K: 5
- Top K reranker: 5
- Relevance Threshold: 0
• RAG Template:
### Task:
Respond to the user query using the provided context, incorporating inline citations in the format [source_id] only when the <source_id> tag is explicitly provided in the context.
Actual Behavior
It behaves like,
When I upload the document and ask the question from the PDF, it does not even give me a correct answer. I am afriad does the chatbot even read the data from the document, chunk it and make it into the vector storage or not.
Same happens when I create the Knowledge Base and then I create the Model (Considering the Knowledge Base) and asks the Document about my question.
Steps to Reproduce
Click on Workspace - > Knowlegde -> Create Knowledge -> Upload the File
Click on Workspace - > Model-> Name the Model -> write the prompt -> define advance parameters -> add Knowledge Base to that Model.
Go to your main Screen of Chatbot, write '#' and select the Knowledge Base and Ask the question.
Logs & Screenshots
Additional Information
No response