feat:support baidu vector db (#9185)

This commit is contained in:
Shili Cao
2024-10-12 23:24:17 +08:00
committed by GitHub
parent 793205afc5
commit 2ec6ffe478
15 changed files with 582 additions and 13 deletions

View File

@@ -462,6 +462,15 @@ ELASTICSEARCH_PORT=9200
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=elastic
# baidu vector configurations, only available when VECTOR_STORE is `baidu`
BAIDU_VECTOR_DB_ENDPOINT=http://127.0.0.1:5287
BAIDU_VECTOR_DB_CONNECTION_TIMEOUT_MS=30000
BAIDU_VECTOR_DB_ACCOUNT=root
BAIDU_VECTOR_DB_API_KEY=dify
BAIDU_VECTOR_DB_DATABASE=dify
BAIDU_VECTOR_DB_SHARD=1
BAIDU_VECTOR_DB_REPLICAS=3
# ------------------------------
# Knowledge Configuration
# ------------------------------