# Server configuration PORT=3000 # Storage configuration # Options: 'filesystem', 'memory', 's3' STORAGE_TYPE=filesystem STORAGE_ROOT_DIR=./data # S3 Storage configuration (only used if STORAGE_TYPE=s3) S3_BUCKET_NAME=your-bucket-name S3_ACCESS_KEY_ID=your-access-key S3_SECRET_ACCESS_KEY=your-secret-key S3_REGION=us-east-1 # Optional: For custom S3-compatible services like MinIO, DigitalOcean Spaces, etc. # S3_ENDPOINT=https://your-custom-endpoint # Embedding configuration # Set to 'true' to use simple embedding (faster but less accurate) USE_SIMPLE_EMBEDDING=false # HNSW index configuration (optional) # HNSW_M=16 # Max connections per node # HNSW_EF_CONSTRUCTION=200 # Construction candidate list size # HNSW_EF_SEARCH=50 # Search candidate list size