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
main
rag-folder
e07001e
79d0932
a94e416
9 files changed (+390 additions, -12 deletions)
📝 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)
backend/apps/rag/main.py
backend/apps/web/routers/documents.py
backend/config.py
backend/utils/misc.py
src/lib/apis/rag/index.ts
src/lib/components/chat/Messages/ResponseMessage.svelte
src/lib/components/documents/Settings/General.svelte
src/lib/components/documents/SettingsModal.svelte
src/routes/(app)/documents/+page.svelte
you can now add -v $(pwd)/docs:/app/backend/data/docs flag to docker command and mount your document folder to the webui container.
-v $(pwd)/docs:/app/backend/data/docs
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 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.