feat: support tidb vector (#4588)

This commit is contained in:
Weaxs
2024-06-05 18:19:53 +08:00
committed by GitHub
parent 602c4e51ec
commit 0797f9bc05
10 changed files with 332 additions and 2 deletions

View File

@@ -112,6 +112,13 @@ PGVECTOR_USER=postgres
PGVECTOR_PASSWORD=postgres
PGVECTOR_DATABASE=postgres
# Tidb Vector configuration
TIDB_VECTOR_HOST=xxx.eu-central-1.xxx.aws.tidbcloud.com
TIDB_VECTOR_PORT=4000
TIDB_VECTOR_USER=xxx.root
TIDB_VECTOR_PASSWORD=xxxxxx
TIDB_VECTOR_DATABASE=dify
# Upload configuration
UPLOAD_FILE_SIZE_LIMIT=15
UPLOAD_FILE_BATCH_LIMIT=5