fix: make Milvus vector metric type configurable via MILVUS_METRIC_TYPE

This commit is contained in:
Dounx
2026-03-25 11:07:06 +08:00
committed by lyingbug
parent 5af8e4e9f8
commit 8df12aeee2
4 changed files with 25 additions and 1 deletions
+4
View File
@@ -267,6 +267,10 @@ APK_MIRROR_ARG=mirrors.tencent.com
# Milvus集合名称,用于存储向量数据
# MILVUS_COLLECTION=weknora_embeddings
# Milvus向量搜索度量类型,支持 IP(默认)、COSINE、L2
# 注意:修改度量类型后需要重建collection才能生效
# MILVUS_METRIC_TYPE=IP
# Milvus 用户名(可选)
# MILVUS_USERNAME=your_milvus_username