mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[PR #617] [MERGED] feat: document collection #20397
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?
📋 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:
main← Head:doc-collection📝 Commits (10+)
4852366feat: drag and drop document anywhere50f7b20refac1d0eaecrefac: queryVectorDB renamed to queryCollection8fd1b62fix: api function name00803c9feat: doc taggingf538c9afeat: display doc tagsf448a4bfeat: doc filter by tag7d2f788feat: import collection from chat input683650efeat: collection rag integration3858485fix: styling📊 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.