feat: bulk document upload #268

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

Originally created by @vrdeeznuts on GitHub (Feb 6, 2024).

Originally assigned to: @tjbck on GitHub.

Is your feature request related to a problem? Please describe.
I've seen a few issues relating to this (e.g., #531 and #533), and they were closed. However, after running ollama-webui and going to the My Documents page, when I click the + button to add documents, I have to add one document at a time. It gets cumbersome when I want to test RAG with a large folder of documents (as well as sub-folders with more documents). To be clear, this is unrelated to tagging documents. This problem also occurs when I try to drag and drop multiple documents at the same time. Only the first document gets uploaded.

Describe the solution you'd like
Enable bulk document upload via the + button as well as bulk document upload via drag and drop.

Describe alternatives you've considered
An alternative could be to provide a path to the directory containing documents when using the docker run ... command.

Additional context
Add any other context or screenshots about the feature request here.

Originally created by @vrdeeznuts on GitHub (Feb 6, 2024). Originally assigned to: @tjbck on GitHub. **Is your feature request related to a problem? Please describe.** I've seen a few issues relating to this (e.g., #531 and #533), and they were closed. However, after running ollama-webui and going to the My Documents page, when I click the + button to add documents, I have to add one document at a time. It gets cumbersome when I want to test RAG with a large folder of documents (as well as sub-folders with more documents). To be clear, this is unrelated to tagging documents. This problem also occurs when I try to drag and drop multiple documents at the same time. Only the first document gets uploaded. **Describe the solution you'd like** Enable bulk document upload via the + button as well as bulk document upload via drag and drop. **Describe alternatives you've considered** An alternative could be to provide a path to the directory containing documents when using the docker run ... command. **Additional context** Add any other context or screenshots about the feature request here.
Author
Owner

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

Also, apologies if that sounded rude or demanding. I am grateful for the work you've done to make everything run exceptionally well. Thank you!

@vrdeeznuts commented on GitHub (Feb 6, 2024): Also, apologies if that sounded rude or demanding. I am grateful for the work you've done to make everything run exceptionally well. Thank you!
Author
Owner

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

@tjbck
do you know if there is api, we could write a script to upload the files in a for loop? this can be a workaround.

@app.post("/doc")
def store_doc(

@echzhai commented on GitHub (Feb 6, 2024): @tjbck do you know if there is api, we could write a script to upload the files in a for loop? this can be a workaround. @app.post("/doc") def store_doc(
Author
Owner

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

@tjbck I think still if we could have an api that is better, for instance, if we want to upload 1000 files, and at the same time, we could tag these 1000 files.
if we do the tag later from webui, how could we tag 1000 files?

@echzhai commented on GitHub (Feb 6, 2024): @tjbck I think still if we could have an api that is better, for instance, if we want to upload 1000 files, and at the same time, we could tag these 1000 files. if we do the tag later from webui, how could we tag 1000 files?
Author
Owner

@nickjuntilla commented on GitHub (Jul 21, 2024):

So I guess people just close these issues without addressing them? There is still no bulk document uploading. This issue was closed referencing a feature regarding a comment and bulk tagging.

@nickjuntilla commented on GitHub (Jul 21, 2024): So I guess people just close these issues without addressing them? There is still no bulk document uploading. This issue was closed referencing a feature regarding a comment and bulk tagging.
Author
Owner

@justinh-rahb commented on GitHub (Jul 21, 2024):

This feature has existed for months. What's the issue?

@justinh-rahb commented on GitHub (Jul 21, 2024): This feature has existed for months. What's the issue?
Author
Owner

@limingchina commented on GitHub (Jul 31, 2024):

@justinh-rahb , for me, selecting multiple files is working. However, I can't just drag a root directory so that all the files inside the directory got uploaded.

@limingchina commented on GitHub (Jul 31, 2024): @justinh-rahb , for me, selecting multiple files is working. However, I can't just drag a root directory so that all the files inside the directory got uploaded.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#268