[PR #10170] [CLOSED] chore: remove 'process embedding while uploading files' #9271

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

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/10170
Author: @leantli
Created: 2/17/2025
Status: Closed

Base: mainHead: chore/test_deploy


📝 Commits (8)

  • 33976cc chore: by default not collapse thinking (#1)
  • faa3601 build: add p1 oss deploy config (#4)
  • 7bc8630 feat: bypass retrival on get_sources_from_files (#2)
  • 2dbc6cc chore: add log to test deploy
  • 72fb2ea update nginx config
  • 13af26e chore: add log to discover problem
  • ea05ffd chore: remove while upload file add file to vector db
  • 996d0cf chore: remove process embedding while upload file

📊 Changes

46 files changed (+1993 additions, -137 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 Makefile (+29 -25)
Makefile-bak (+33 -0)
📝 backend/open_webui/config.py (+37 -37)
📝 backend/open_webui/retrieval/utils.py (+14 -1)
📝 backend/open_webui/retrieval/vector/dbs/chroma.py (+47 -46)
📝 backend/open_webui/routers/retrieval.py (+24 -25)
deploy/backend/prod/Dockerfile (+43 -0)
deploy/backend/prod/build.sh (+26 -0)
deploy/backend/prod/entrypoint.sh (+3 -0)
deploy/backend/prod/gpt-oi-rest.yaml (+93 -0)
deploy/backend/services/docker-compose.yml (+13 -0)
deploy/backend/services/gpt-oi-rest.service (+14 -0)
deploy/backend/test/Dockerfile (+45 -0)
deploy/backend/test/build.sh (+27 -0)
deploy/backend/test/entrypoint.sh (+3 -0)
deploy/backend/test/gpt-oi-rest.yaml (+93 -0)
deploy/gpt-oi-web/prod/Dockerfile (+28 -0)
deploy/gpt-oi-web/prod/build.sh (+24 -0)
deploy/gpt-oi-web/prod/entrypoint.sh (+2 -0)

...and 26 more files

📄 Description

Changelog Entry

Description

  • 由于已经移除聊天时基于文件 id,collection_id embedding 求相关的代码,因此上传文件时暂时也不需要将文件内容打成 embedding 并存入 vector db,这里暂时移除

Removed

  • 文件上传时的 save_docs_to_vector_db

🔄 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/10170 **Author:** [@leantli](https://github.com/leantli) **Created:** 2/17/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `chore/test_deploy` --- ### 📝 Commits (8) - [`33976cc`](https://github.com/open-webui/open-webui/commit/33976cca8d04d09aad48ef0c4c4b9660830260fc) chore: by default not collapse thinking (#1) - [`faa3601`](https://github.com/open-webui/open-webui/commit/faa3601ed2a15dd9304967d5fc1a35707b731026) build: add p1 oss deploy config (#4) - [`7bc8630`](https://github.com/open-webui/open-webui/commit/7bc863075b62b297c37661b2651c94f84b27877d) feat: bypass retrival on get_sources_from_files (#2) - [`2dbc6cc`](https://github.com/open-webui/open-webui/commit/2dbc6cc707d16fb815f7bd90b8c735ae315dfa01) chore: add log to test deploy - [`72fb2ea`](https://github.com/open-webui/open-webui/commit/72fb2ea972755f814125a760462bab46d49e1832) update nginx config - [`13af26e`](https://github.com/open-webui/open-webui/commit/13af26e803a341d40f445909a96587c1f913bc54) chore: add log to discover problem - [`ea05ffd`](https://github.com/open-webui/open-webui/commit/ea05ffdbeb09308abb12281309165739cca39fcb) chore: remove while upload file add file to vector db - [`996d0cf`](https://github.com/open-webui/open-webui/commit/996d0cf80c7ec86adea1aad044929fdde881ce33) chore: remove process embedding while upload file ### 📊 Changes **46 files changed** (+1993 additions, -137 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `Makefile` (+29 -25) ➕ `Makefile-bak` (+33 -0) 📝 `backend/open_webui/config.py` (+37 -37) 📝 `backend/open_webui/retrieval/utils.py` (+14 -1) 📝 `backend/open_webui/retrieval/vector/dbs/chroma.py` (+47 -46) 📝 `backend/open_webui/routers/retrieval.py` (+24 -25) ➕ `deploy/backend/prod/Dockerfile` (+43 -0) ➕ `deploy/backend/prod/build.sh` (+26 -0) ➕ `deploy/backend/prod/entrypoint.sh` (+3 -0) ➕ `deploy/backend/prod/gpt-oi-rest.yaml` (+93 -0) ➕ `deploy/backend/services/docker-compose.yml` (+13 -0) ➕ `deploy/backend/services/gpt-oi-rest.service` (+14 -0) ➕ `deploy/backend/test/Dockerfile` (+45 -0) ➕ `deploy/backend/test/build.sh` (+27 -0) ➕ `deploy/backend/test/entrypoint.sh` (+3 -0) ➕ `deploy/backend/test/gpt-oi-rest.yaml` (+93 -0) ➕ `deploy/gpt-oi-web/prod/Dockerfile` (+28 -0) ➕ `deploy/gpt-oi-web/prod/build.sh` (+24 -0) ➕ `deploy/gpt-oi-web/prod/entrypoint.sh` (+2 -0) _...and 26 more files_ </details> ### 📄 Description # Changelog Entry ### Description - 由于已经移除聊天时基于文件 id,collection_id embedding 求相关的代码,因此上传文件时暂时也不需要将文件内容打成 embedding 并存入 vector db,这里暂时移除 ### Removed - 文件上传时的 save_docs_to_vector_db --- <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 18:18:17 -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#9271