[GH-ISSUE #22699] issue: open-webui cannot see individual document as source but can see entire knowledge base which includes document #19794

Closed
opened 2026-04-20 02:17:39 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @tonydiep on GitHub (Mar 15, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22699

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

0.8.10

Ollama Version (if applicable)

0.18.0

Operating System

Ubuntu 24.04

Browser (if applicable)

Not relevent

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

  1. Include individual document in knowledge base as context
  2. Ask open-webui to summarize document
  3. Expected: open-webui summarizes document

Actual Behavior

  1. Actual: open-webui responds "no sources found"

Steps to Reproduce

  1. Include individual document in knowledge base as context
  2. Ask open-webui to summarize document
  3. Expected: open-webui summarizes document
  4. Actual: open-webui responds with "no sources found"

Logs & Screenshots

Image

Additional Information

Same issue as #17700 from Sep 2025

Originally created by @tonydiep on GitHub (Mar 15, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/22699 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version 0.8.10 ### Ollama Version (if applicable) 0.18.0 ### Operating System Ubuntu 24.04 ### Browser (if applicable) Not relevent ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior 1. Include individual document in knowledge base as context 2. Ask open-webui to summarize document 3. Expected: open-webui summarizes document ### Actual Behavior 3. Actual: open-webui responds "no sources found" ### Steps to Reproduce 1. Include individual document in knowledge base as context 2. Ask open-webui to summarize document 3. Expected: open-webui summarizes document 4. Actual: open-webui responds with "no sources found" ### Logs & Screenshots <img width="1348" height="418" alt="Image" src="https://github.com/user-attachments/assets/4579292a-7148-4ce7-8396-30cd51b9068f" /> ### Additional Information Same issue as #17700 from Sep 2025
GiteaMirror added the bug label 2026-04-20 02:17:39 -05:00
Author
Owner

@tonydiep commented on GitHub (Mar 15, 2026):

Image open-webui able to find document if using "#" to point to collection and naming the document in the prompt
<!-- gh-comment-id:4063314500 --> @tonydiep commented on GitHub (Mar 15, 2026): <img width="1389" height="469" alt="Image" src="https://github.com/user-attachments/assets/f42490e6-3f7b-4a9b-a622-afac57a58a88" /> open-webui able to find document if using "#" to point to collection and naming the document in the prompt
Author
Owner

@tonydiep commented on GitHub (Mar 15, 2026):

Image open-webui not able to find same document if using "#" and selecting the document already in the knowledge base
<!-- gh-comment-id:4063316706 --> @tonydiep commented on GitHub (Mar 15, 2026): <img width="1406" height="433" alt="Image" src="https://github.com/user-attachments/assets/437cf2b5-a905-403b-bbab-d5482d70bcb7" /> open-webui not able to find same document if using "#" and selecting the document already in the knowledge base
Author
Owner

@tonydiep commented on GitHub (Mar 15, 2026):

open-webui not able to see document in context if uploading the file (independent of the knowledge base)

<!-- gh-comment-id:4063320277 --> @tonydiep commented on GitHub (Mar 15, 2026): open-webui not able to see document in context if uploading the file (independent of the knowledge base)
Author
Owner

@tonydiep commented on GitHub (Mar 15, 2026):

Image Possibly related: When attaching a document to chat, open-webui doesn't see any attached documents. However, if you specify the filename, open-webui sees the attached document.
<!-- gh-comment-id:4063608312 --> @tonydiep commented on GitHub (Mar 15, 2026): <img width="1810" height="1005" alt="Image" src="https://github.com/user-attachments/assets/bbf29cc6-7b0f-4ded-97ef-93d304902394" /> Possibly related: When attaching a document to chat, open-webui doesn't see any attached documents. However, if you specify the filename, open-webui sees the attached document.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#19794