how to upload several document? or upload a folder? #265

Closed
opened 2025-11-11 14:14:26 -06:00 by GiteaMirror · 6 comments
Owner

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.

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.
Author
Owner

@justinh-rahb commented on GitHub (Feb 5, 2024):

Already implemented: #531

@justinh-rahb commented on GitHub (Feb 5, 2024): Already implemented: [#531](https://github.com/ollama-webui/ollama-webui/issues/531#issuecomment-1925517556)
Author
Owner

@echzhai commented on GitHub (Feb 6, 2024):

sorry, but I mean upload several files to my Documents.

@echzhai commented on GitHub (Feb 6, 2024): sorry, but I mean upload several files to my Documents.
Author
Owner

@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

@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](https://github.com/ollama-webui/ollama-webui/files/14195285/MessageInput.svelte.txt)
Author
Owner

@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

@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
Author
Owner

@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.

@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.
Author
Owner

@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

@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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#265