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.
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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:
dev← Head:main📝 Commits (7)
5dba298refactor: Updated Qdrant multi-tenancy implementation9dd24eechore: Bump qdrant-client version05bee56Merge remote-tracking branch 'origin/dev'7c734d3Merge remote-tracking branch 'origin/dev' into Anush008/main0ac57a0refactor: More implementation improvementsc8a49d3refactor: Removed more swallows17debaachore: 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.