mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-13 18:44:23 -05:00
how to upload several document? or upload a folder? #265
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 @echzhai on GitHub (Feb 5, 2024).
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
@justinh-rahb commented on GitHub (Feb 5, 2024):
Already implemented: #531
@echzhai commented on GitHub (Feb 6, 2024):
sorry, but I mean upload several files to my Documents.
@vrdeeznuts commented on GitHub (Feb 7, 2024):
@echzhai
This was completed in issue #655. You should be able to drag and drop or click the plus link and select multiple files. However, I believe this has not been implemented in the chat page, so you would need to modify the ollama-webui/src/lib/components/chat/MessageInput.svelte file in a similar manner to achieve the same. I'm not a developer on this project, but I was the one who requested the multiple file upload a couple days ago.
Just pull down the latest version. You can also replace the file I mentioned with the one I've attached here. This was my adaptation based on the changes that were made in #655. Essentially just a copy/paste, with some changes to make it work with the chat page. Remove the .txt extension, too, as github doesn't allow for .svelte files (even though they are text files).
MessageInput.svelte.txt
@GregHilston commented on GitHub (Apr 18, 2024):
@vrdeeznuts I don't think the feature you described allows one to select a directory. Say a folder with folders with files in it for example...
I don't see an issue tracking that specific request
@barneym commented on GitHub (Apr 21, 2024):
I'm also looking for this feature, so don't believe this should have been closed.
In GPT4ALL I was able to provide multiple top level folders so I was able to index my entire Obsidian data repository, all of my email history, and numerous specialized documentation sources (many thousands or likely tens of thousands of files).
Doing this one-by-one or even folder-by-folder is the definition of insanity.
@GregHilston commented on GitHub (Apr 21, 2024):
@barneym your mention of an obsidian vault being targeted is exactly one of the use cases I'm trying to solve for.
I've been trying to trace through the code to see if I could write a simple script to do the traversing for me, and call the appropriate endpoint. Definitely hacky but yea