fix(pinecone): normalize index names and sanitize metadata to meet API constraints

This commit is contained in:
Frederick2313072
2025-09-20 02:56:53 +08:00
parent 90fc5a1f12
commit 1cbe9eedb6
5 changed files with 94 additions and 35 deletions

View File

@ -79,6 +79,17 @@ WEAVIATE_AUTHORIZATION_ADMINLIST_ENABLED=true
WEAVIATE_AUTHORIZATION_ADMINLIST_USERS=hello@dify.ai
WEAVIATE_HOST_VOLUME=./volumes/weaviate
# ------------------------------
# Environment Variables for Pinecone Vector Database
# ------------------------------
# Get your API key from: https://app.pinecone.io/
# PINECONE_API_KEY=your-pinecone-api-key
# PINECONE_ENVIRONMENT=us-west1-gcp
# PINECONE_INDEX_NAME=dify-pinecone-index
# PINECONE_CLIENT_TIMEOUT=30
# PINECONE_BATCH_SIZE=100
# PINECONE_METRIC=cosine
# ------------------------------
# Docker Compose Service Expose Host Port Configurations
# ------------------------------