[PR #424] [MERGED] feat: full documents support #7125

Closed
opened 2025-11-11 17:17:37 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: documents


📝 Commits (9)

  • 2603ac3 feat: documents
  • cc3f84f feat: # to import doc
  • df3d95b refac: message drag file input
  • 54c4e07 feat: documents file upload
  • fe997ab feat: transform filename to name
  • eddb6fc feat: documents backend integration
  • 1ff3eb8 feat: doc upload error handling
  • b858b9b feat: edit doc modal styling
  • edceeba feat: help message added

📊 Changes

17 files changed (+1283 additions, -55 deletions)

View changed files

📝 backend/apps/rag/main.py (+10 -2)
📝 backend/apps/web/main.py (+12 -4)
backend/apps/web/models/documents.py (+124 -0)
backend/apps/web/routers/documents.py (+119 -0)
📝 backend/config.py (+1 -1)
📝 backend/constants.py (+3 -0)
src/lib/apis/documents/index.ts (+177 -0)
src/lib/components/AddFilesPlaceholder.svelte (+6 -0)
📝 src/lib/components/chat/MessageInput.svelte (+50 -35)
src/lib/components/chat/MessageInput/Documents.svelte (+78 -0)
src/lib/components/documents/EditDocModal.svelte (+151 -0)
📝 src/lib/components/layout/Sidebar.svelte (+41 -9)
📝 src/lib/constants.ts (+7 -0)
📝 src/lib/stores/index.ts (+15 -0)
📝 src/lib/utils/index.ts (+31 -0)
📝 src/routes/(app)/+layout.svelte (+12 -4)
src/routes/(app)/documents/+page.svelte (+446 -0)

📄 Description

No description provided


🔄 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/424 **Author:** [@tjbck](https://github.com/tjbck) **Created:** 1/8/2024 **Status:** ✅ Merged **Merged:** 1/8/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `documents` --- ### 📝 Commits (9) - [`2603ac3`](https://github.com/open-webui/open-webui/commit/2603ac30bc4dc04069759cd1d5ce9eb2f747cd9e) feat: documents - [`cc3f84f`](https://github.com/open-webui/open-webui/commit/cc3f84f916ccbff3bbd6ff794c92ddcab910ea08) feat: # to import doc - [`df3d95b`](https://github.com/open-webui/open-webui/commit/df3d95bf2a445ac0bac8d8235da9d4402f0985d8) refac: message drag file input - [`54c4e07`](https://github.com/open-webui/open-webui/commit/54c4e0761a5b9e5d102c1c0dface786cf489fdd7) feat: documents file upload - [`fe997ab`](https://github.com/open-webui/open-webui/commit/fe997abc6d4908140d3ceba78ebc251b83dce6ab) feat: transform filename to name - [`eddb6fc`](https://github.com/open-webui/open-webui/commit/eddb6fc7b7b5c073dfbab30ae592bdb5c320047b) feat: documents backend integration - [`1ff3eb8`](https://github.com/open-webui/open-webui/commit/1ff3eb80385a4608550889f9bdc3a5061a3bade6) feat: doc upload error handling - [`b858b9b`](https://github.com/open-webui/open-webui/commit/b858b9b2361b84997b5e42902d385d7595eabdd8) feat: edit doc modal styling - [`edceeba`](https://github.com/open-webui/open-webui/commit/edceeba1b0cb53ce12d80d8f1298f9ad53d29606) feat: help message added ### 📊 Changes **17 files changed** (+1283 additions, -55 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/rag/main.py` (+10 -2) 📝 `backend/apps/web/main.py` (+12 -4) ➕ `backend/apps/web/models/documents.py` (+124 -0) ➕ `backend/apps/web/routers/documents.py` (+119 -0) 📝 `backend/config.py` (+1 -1) 📝 `backend/constants.py` (+3 -0) ➕ `src/lib/apis/documents/index.ts` (+177 -0) ➕ `src/lib/components/AddFilesPlaceholder.svelte` (+6 -0) 📝 `src/lib/components/chat/MessageInput.svelte` (+50 -35) ➕ `src/lib/components/chat/MessageInput/Documents.svelte` (+78 -0) ➕ `src/lib/components/documents/EditDocModal.svelte` (+151 -0) 📝 `src/lib/components/layout/Sidebar.svelte` (+41 -9) 📝 `src/lib/constants.ts` (+7 -0) 📝 `src/lib/stores/index.ts` (+15 -0) 📝 `src/lib/utils/index.ts` (+31 -0) 📝 `src/routes/(app)/+layout.svelte` (+12 -4) ➕ `src/routes/(app)/documents/+page.svelte` (+446 -0) </details> ### 📄 Description _No description provided_ --- <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 2025-11-11 17:17:37 -06: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#7125