[GH-ISSUE #15338] feat: Separate files from documents #104531

Closed
opened 2026-05-18 02:13:28 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @CuriousLocky on GitHub (Jun 26, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15338

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

Every time a file is uploaded in a new chat, it always goes through content extraction. This process can be slow and the result can be incorrect (a pdf often can be seen as an empty). When a file is uploaded and seen as a document, the prompt is also forced to change to RAG template, which often is not the desired case.

Desired Solution you'd like

Separate a file upload and document upload.

If a file needs to be RAG, it can go through the content extraction and RAG template as before. If it is uploaded as a file, and the model supports file input, skip RAG and simply send the file to the backend model.

Alternatives Considered

No response

Additional Context

No response

Originally created by @CuriousLocky on GitHub (Jun 26, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/15338 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description Every time a file is uploaded in a new chat, it always goes through content extraction. This process can be slow and the result can be incorrect (a pdf often can be seen as an empty). When a file is uploaded and seen as a document, the prompt is also forced to change to RAG template, which often is not the desired case. ### Desired Solution you'd like Separate a file upload and document upload. If a file needs to be RAG, it can go through the content extraction and RAG template as before. If it is uploaded as a file, and the model supports file input, skip RAG and simply send the file to the backend model. ### Alternatives Considered _No response_ ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#104531