mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-16 20:11:53 -05:00
[PR #778] [MERGED] feat: rag folder scan support #7255
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/778
Author: @tjbck
Created: 2/18/2024
Status: ✅ Merged
Merged: 2/18/2024
Merged by: @tjbck
Base:
main← Head:rag-folder📝 Commits (3)
e07001efeat: rag folder scan support79d0932refac: stylinga94e416fix: file content type issue📊 Changes
9 files changed (+390 additions, -12 deletions)
View changed files
📝
backend/apps/rag/main.py(+90 -11)📝
backend/apps/web/routers/documents.py(+4 -0)📝
backend/config.py(+8 -0)📝
backend/utils/misc.py(+38 -0)📝
src/lib/apis/rag/index.ts(+26 -0)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+1 -1)➕
src/lib/components/documents/Settings/General.svelte(+106 -0)➕
src/lib/components/documents/SettingsModal.svelte(+86 -0)📝
src/routes/(app)/documents/+page.svelte(+31 -0)📄 Description
you can now add
-v $(pwd)/docs:/app/backend/data/docsflag to docker command and mount your document folder to the webui container.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.