feat: support opensearch approximate k-NN (#5322)

This commit is contained in:
baojingyu
2024-06-19 12:44:33 +08:00
committed by GitHub
parent a651e7e2da
commit d160d1ed02
16 changed files with 793 additions and 4 deletions

View File

@@ -332,6 +332,12 @@ services:
TENCENT_VECTOR_DB_DATABASE: dify
TENCENT_VECTOR_DB_SHARD: 1
TENCENT_VECTOR_DB_REPLICAS: 2
# OpenSearch configuration
OPENSEARCH_HOST: 127.0.0.1
OPENSEARCH_PORT: 9200
OPENSEARCH_USER: admin
OPENSEARCH_PASSWORD: admin
OPENSEARCH_SECURE: 'true'
# pgvector configurations
PGVECTOR_HOST: pgvector
PGVECTOR_PORT: 5432