[PR #15289] [MERGED] refactor: Updated Qdrant multi-tenancy implementation #10581

Closed
opened 2025-11-11 19:08:29 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/15289
Author: @Anush008
Created: 6/25/2025
Status: Merged
Merged: 7/4/2025
Merged by: @tjbck

Base: devHead: main


📝 Commits (7)

  • 5dba298 refactor: Updated Qdrant multi-tenancy implementation
  • 9dd24ee chore: Bump qdrant-client version
  • 05bee56 Merge remote-tracking branch 'origin/dev'
  • 7c734d3 Merge remote-tracking branch 'origin/dev' into Anush008/main
  • 0ac57a0 refactor: More implementation improvements
  • c8a49d3 refactor: Removed more swallows
  • 17debaa chore: Raise if QDRANT_URI is not set

📊 Changes

3 files changed (+146 additions, -528 deletions)

View changed files

📝 backend/open_webui/config.py (+2 -2)
📝 backend/open_webui/retrieval/vector/dbs/qdrant_multitenancy.py (+143 -525)
📝 backend/requirements.txt (+1 -1)

📄 Description

Description

Hey 👋. Greetings from Qdrant. This PR improves the Qdrant Multi-tenancy implementation.

Reasoning behind the changes is mentioned as code comments below.

I’ve unit tested the methods after these changes to make sure they work as expected.

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.

Resolves https://github.com/open-webui/open-webui/issues/15197


🔄 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/15289 **Author:** [@Anush008](https://github.com/Anush008) **Created:** 6/25/2025 **Status:** ✅ Merged **Merged:** 7/4/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `main` --- ### 📝 Commits (7) - [`5dba298`](https://github.com/open-webui/open-webui/commit/5dba298c1e74100446759a7a1208f9a17c01d05f) refactor: Updated Qdrant multi-tenancy implementation - [`9dd24ee`](https://github.com/open-webui/open-webui/commit/9dd24ee8fadaa53982e7bc5e8c8c7985fc76fd90) chore: Bump qdrant-client version - [`05bee56`](https://github.com/open-webui/open-webui/commit/05bee5663da2018ef705ac2e79c26427185dcbf0) Merge remote-tracking branch 'origin/dev' - [`7c734d3`](https://github.com/open-webui/open-webui/commit/7c734d3fead03cc4d8eb4addf181d9d6694fca2f) Merge remote-tracking branch 'origin/dev' into Anush008/main - [`0ac57a0`](https://github.com/open-webui/open-webui/commit/0ac57a088f6fb14eb5ce306965e8e17e0bdb005b) refactor: More implementation improvements - [`c8a49d3`](https://github.com/open-webui/open-webui/commit/c8a49d373a2d4ba57cac8062c026de93fff01f2b) refactor: Removed more swallows - [`17debaa`](https://github.com/open-webui/open-webui/commit/17debaa6de1537ff336d0c16fed64e2c08a3c025) chore: Raise if QDRANT_URI is not set ### 📊 Changes **3 files changed** (+146 additions, -528 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+2 -2) 📝 `backend/open_webui/retrieval/vector/dbs/qdrant_multitenancy.py` (+143 -525) 📝 `backend/requirements.txt` (+1 -1) </details> ### 📄 Description ## Description Hey 👋. Greetings from [Qdrant](http://qdrant.tech/). This PR improves the Qdrant Multi-tenancy implementation. Reasoning behind the changes is mentioned as code comments below. I’ve unit tested the methods after these changes to make sure they work as expected. ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. Resolves https://github.com/open-webui/open-webui/issues/15197 --- <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 19:08:29 -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#10581