mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #60] Add Support for Text File Upload #11919
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 @ghost on GitHub (Nov 5, 2023).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/60
Is your feature request related to a problem? Please describe.
Currently, the project lacks the capability to handle text file uploads, such as markdown and PDF files, for the purpose of summarization and Q&A. This limitation restricts users from efficiently extracting information from documents.
Describe the solution you'd like
I propose the addition of a feature that allows users to upload text files in formats like markdown, PDF. ollama-webui should be able to process these files to provide summaries and answer user queries based on the content within the uploaded documents. This enhancement would significantly improve the versatility and usefulness of the ollama-webui.
Describe alternatives you've considered
An alternative to supporting file uploads could be manual copying and pasting of text content into the chat interface, but this approach is time-consuming and error-prone. Another alternative is integrating with external document management systems, but this might be less user-friendly and may introduce privacy concerns.
Additional context
In many use cases, users need to extract specific information or summaries from existing documents in their possession. Adding support for text file uploads, especially in common formats like markdown and PDF, would greatly enhance the capabilities and make it a valuable tool for content processing and information retrieval. This feature aligns with the growing demand for efficient document processing and information extraction tools in various domains.
@ghost commented on GitHub (Nov 5, 2023):
Possibly support all the types of file formats (and more?) same as GPT4all LocalDocs as mentioned here:
@tjbck commented on GitHub (Nov 5, 2023):
Hi, Thanks for the suggestion. Document parser (or RAG) functionality was something I've been planning on implementing for a while now. I'm just not sure what would be the best way to approach this as I'd like to keep this web ui project as lightweight as possible. One possible way to implement this feature could be making it purely client-side but I don't see that being a viable solution as there are people who use the web ui via their phone browser and the experience would not be great. Do you have any technical implementation ideas in mind? I'm quite overwhelmed at the moment so if you manage to implement the feature, PR is always welcome. Thanks!
@tjbck commented on GitHub (Nov 5, 2023):
duplicate of #31