feat: support milvus vectordb for knowledge retrieve
Signed-off-by: joeyczheng <joeyczheng@tencent.com>
This commit is contained in:
+17
-1
@@ -24,7 +24,7 @@ OLLAMA_BASE_URL=http://host.docker.internal:11434
|
||||
# 主数据库类型(postgres/mysql)
|
||||
DB_DRIVER=postgres
|
||||
|
||||
# 向量存储类型(postgres/elasticsearch_v7/elasticsearch_v8/qdrant)
|
||||
# 向量存储类型(postgres/elasticsearch_v7/elasticsearch_v8/qdrant/milvus)
|
||||
RETRIEVE_DRIVER=postgres
|
||||
|
||||
# 文件存储类型(local/minio/cos/tos)
|
||||
@@ -226,3 +226,19 @@ WEKNORA_SANDBOX_DOCKER_IMAGE=wechatopenai/weknora-sandbox:latest
|
||||
|
||||
# APK 镜像源设置(可选)
|
||||
APK_MIRROR_ARG=mirrors.tencent.com
|
||||
|
||||
# 如果使用Milvus作为向量存储,需要配置以下参数
|
||||
# Milvus服务地址
|
||||
# MILVUS_ADDRESS=milvus:19530
|
||||
|
||||
# Milvus集合名称,用于存储向量数据
|
||||
# MILVUS_COLLECTION=weknora_embeddings
|
||||
|
||||
# Milvus 用户名(可选)
|
||||
# MILVUS_USERNAME=your_milvus_username
|
||||
|
||||
# Milvus 密码(可选)
|
||||
# MILVUS_PASSWORD=your_milvus_password
|
||||
|
||||
# Milvus 数据库名称(可选)
|
||||
# MILVUS_DB_NAME=your_milvus_db_name
|
||||
|
||||
Reference in New Issue
Block a user