feat: support Chroma vector store (#5015)

This commit is contained in:
Bowen Liang
2024-06-13 18:02:18 +08:00
committed by GitHub
parent 3f18369ad2
commit cdc08a434f
16 changed files with 1483 additions and 13 deletions

View File

@@ -119,6 +119,14 @@ TIDB_VECTOR_USER=xxx.root
TIDB_VECTOR_PASSWORD=xxxxxx
TIDB_VECTOR_DATABASE=dify
# Chroma configuration
CHROMA_HOST=127.0.0.1
CHROMA_PORT=8000
CHROMA_TENANT=default_tenant
CHROMA_DATABASE=default_database
CHROMA_AUTH_PROVIDER=chromadb.auth.token_authn.TokenAuthenticationServerProvider
CHROMA_AUTH_CREDENTIALS=difyai123456
# Upload configuration
UPLOAD_FILE_SIZE_LIMIT=15
UPLOAD_FILE_BATCH_LIMIT=5