[PR #9191] [MERGED] [feat] Milvus: new optional config var, MILVUS_TOKEN #9128

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

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/9191
Author: @s-sajid-ali
Created: 1/31/2025
Status: Merged
Merged: 2/2/2025
Merged by: @tjbck

Base: devHead: milvus_auth_token


📝 Commits (1)

  • 7b31c75 Milvus: new optional config var, MILVUS_TOKEN

📊 Changes

2 files changed (+6 additions, -1 deletions)

View changed files

📝 backend/open_webui/config.py (+1 -0)
📝 backend/open_webui/retrieval/vector/dbs/milvus.py (+5 -1)

📄 Description

Introduces a new configuration environment variable MILVUS_TOKEN to specify a connection token to connect to a Milvus instance. Tokens are the recommended alternative to supplying username and password separately. For more information on tokens and authentication, refer to:
https://milvus.io/api-reference/pymilvus/v2.5.x/MilvusClient/Client/MilvusClient.md

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation? Yes, at https://github.com/open-webui/docs/pull/377
  • Testing: Have you written and run sufficient tests for validating the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?

Changelog Entry

Description

Introduces a new configuration environment variable MILVUS_TOKEN to specify a connection token to connect to a Milvus instance.

Added

  • a new configuration environment variable MILVUS_TOKEN to specify a connection token to connect to a Milvus instance.

🔄 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/9191 **Author:** [@s-sajid-ali](https://github.com/s-sajid-ali) **Created:** 1/31/2025 **Status:** ✅ Merged **Merged:** 2/2/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `milvus_auth_token` --- ### 📝 Commits (1) - [`7b31c75`](https://github.com/open-webui/open-webui/commit/7b31c75271bdd8f5b575e49fa66bacadbe9ae6b0) Milvus: new optional config var, MILVUS_TOKEN ### 📊 Changes **2 files changed** (+6 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/config.py` (+1 -0) 📝 `backend/open_webui/retrieval/vector/dbs/milvus.py` (+5 -1) </details> ### 📄 Description Introduces a new configuration environment variable `MILVUS_TOKEN` to specify a connection token to connect to a Milvus instance. Tokens are the recommended alternative to supplying username and password separately. For more information on tokens and authentication, refer to: https://milvus.io/api-reference/pymilvus/v2.5.x/MilvusClient/Client/MilvusClient.md **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [x] **Documentation:** Have you updated relevant documentation? Yes, at https://github.com/open-webui/docs/pull/377 - [ ] **Testing:** Have you written and run sufficient tests for validating the changes? - [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? # Changelog Entry ### Description Introduces a new configuration environment variable `MILVUS_TOKEN` to specify a connection token to connect to a Milvus instance. ### Added - a new configuration environment variable `MILVUS_TOKEN` to specify a connection token to connect to a Milvus instance. --- <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:14:50 -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#9128