mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
feat: Separate files from documents #5649
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 @CuriousLocky on GitHub (Jun 26, 2025).
Check Existing Issues
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