[PR #617] [MERGED] feat: document collection #59253

Closed
opened 2026-05-06 01:11:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/617
Author: @tjbck
Created: 2/1/2024
Status: Merged
Merged: 2/4/2024
Merged by: @tjbck

Base: mainHead: doc-collection


📝 Commits (10+)

📊 Changes

17 files changed (+826 additions, -319 deletions)

View changed files

📝 backend/apps/rag/main.py (+85 -8)
📝 backend/apps/web/models/documents.py (+30 -0)
📝 backend/apps/web/routers/documents.py (+61 -8)
📝 src/lib/apis/documents/index.ts (+41 -0)
📝 src/lib/apis/rag/index.ts (+49 -15)
📝 src/lib/components/AddFilesPlaceholder.svelte (+5 -3)
📝 src/lib/components/chat/MessageInput.svelte (+29 -1)
📝 src/lib/components/chat/MessageInput/Documents.svelte (+56 -11)
📝 src/lib/components/chat/Messages/UserMessage.svelte (+29 -0)
src/lib/components/common/Tags.svelte (+24 -0)
src/lib/components/common/Tags/TagInput.svelte (+64 -0)
src/lib/components/common/Tags/TagList.svelte (+33 -0)
📝 src/lib/components/documents/EditDocModal.svelte (+42 -2)
📝 src/lib/components/layout/Navbar.svelte (+3 -96)
📝 src/routes/(app)/+page.svelte (+19 -8)
📝 src/routes/(app)/c/[id]/+page.svelte (+19 -8)
📝 src/routes/(app)/documents/+page.svelte (+237 -159)

📄 Description

Resolves #531


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/617 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 2/1/2024 **Status:** ✅ Merged **Merged:** 2/4/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `doc-collection` --- ### 📝 Commits (10+) - [`4852366`](https://github.com/open-webui/open-webui/commit/485236624f25252f895a4f2a799f2e21129429e4) feat: drag and drop document anywhere - [`50f7b20`](https://github.com/open-webui/open-webui/commit/50f7b20ac293b2f17de0f382bbcd7ae5d0f89349) refac - [`1d0eaec`](https://github.com/open-webui/open-webui/commit/1d0eaec37e490bac793f6ca089af44ed736403ba) refac: queryVectorDB renamed to queryCollection - [`8fd1b62`](https://github.com/open-webui/open-webui/commit/8fd1b62e04a09f21e56d1e07e46b145067871a84) fix: api function name - [`00803c9`](https://github.com/open-webui/open-webui/commit/00803c92f2e4c53e8e8e827252d93ea26cd47a75) feat: doc tagging - [`f538c9a`](https://github.com/open-webui/open-webui/commit/f538c9a1be0258176b156443c731507e90ed0ee3) feat: display doc tags - [`f448a4b`](https://github.com/open-webui/open-webui/commit/f448a4b385af9020b9c070fecd9eae6cd440f631) feat: doc filter by tag - [`7d2f788`](https://github.com/open-webui/open-webui/commit/7d2f788a3b2f620a0f99bfe60fe011e060ffb14f) feat: import collection from chat input - [`683650e`](https://github.com/open-webui/open-webui/commit/683650ec00f6f619de4fb31ba687da783de499ec) feat: collection rag integration - [`3858485`](https://github.com/open-webui/open-webui/commit/38584856754bac0e7b87ca2e02f99ca441a663c3) fix: styling ### 📊 Changes **17 files changed** (+826 additions, -319 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/rag/main.py` (+85 -8) 📝 `backend/apps/web/models/documents.py` (+30 -0) 📝 `backend/apps/web/routers/documents.py` (+61 -8) 📝 `src/lib/apis/documents/index.ts` (+41 -0) 📝 `src/lib/apis/rag/index.ts` (+49 -15) 📝 `src/lib/components/AddFilesPlaceholder.svelte` (+5 -3) 📝 `src/lib/components/chat/MessageInput.svelte` (+29 -1) 📝 `src/lib/components/chat/MessageInput/Documents.svelte` (+56 -11) 📝 `src/lib/components/chat/Messages/UserMessage.svelte` (+29 -0) ➕ `src/lib/components/common/Tags.svelte` (+24 -0) ➕ `src/lib/components/common/Tags/TagInput.svelte` (+64 -0) ➕ `src/lib/components/common/Tags/TagList.svelte` (+33 -0) 📝 `src/lib/components/documents/EditDocModal.svelte` (+42 -2) 📝 `src/lib/components/layout/Navbar.svelte` (+3 -96) 📝 `src/routes/(app)/+page.svelte` (+19 -8) 📝 `src/routes/(app)/c/[id]/+page.svelte` (+19 -8) 📝 `src/routes/(app)/documents/+page.svelte` (+237 -159) </details> ### 📄 Description Resolves #531 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 01:11:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#59253