| # API Keys | |
| OPENAI_API_KEY=your_openai_api_key_here | |
| ANTHROPIC_API_KEY=your_anthropic_api_key_here | |
| # Azure OpenAI (Optional) | |
| AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/ | |
| AZURE_OPENAI_API_KEY=your_azure_openai_key_here | |
| AZURE_OPENAI_DEPLOYMENT_NAME=your_deployment_name | |
| # Knowledge Graph Configuration | |
| KG_ENDPOINT=http://localhost:7687 | |
| KG_USERNAME=neo4j | |
| KG_PASSWORD=your_kg_password_here | |
| # Embedding Service | |
| EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2 | |
| EMBEDDING_DIMENSION=384 | |
| # Application Settings | |
| APP_ENV=development | |
| APP_DEBUG=true | |
| APP_PORT=7860 | |
| APP_HOST=0.0.0.0 | |
| # Gradio Configuration | |
| GRADIO_SERVER_NAME=0.0.0.0 | |
| GRADIO_SERVER_PORT=7860 | |
| GRADIO_SHARE=false | |
| # Logging | |
| LOG_LEVEL=INFO | |
| LOG_FORMAT=json | |
| # Cache Settings | |
| CACHE_TYPE=memory | |
| CACHE_TTL=3600 | |
| # Rate Limiting | |
| RATE_LIMIT_ENABLED=true | |
| RATE_LIMIT_PER_MINUTE=60 | |
| # Feature Flags | |
| ENABLE_ASYNC_PROCESSING=true | |
| ENABLE_CACHING=true | |
| ENABLE_METRICS=false | |
| # External Services | |
| HUGGINGFACE_TOKEN=your_hf_token_here | |
| WANDB_API_KEY=your_wandb_key_here | |
| # Security | |
| SECRET_KEY=your_secret_key_here | |
| JWT_SECRET_KEY=your_jwt_secret_here | |
| ALLOWED_ORIGINS=http://localhost:3000,http://localhost:7860 | |
| # Database (if needed) | |
| DATABASE_URL=sqlite:///./kgraph_mcp.db | |
| # Redis (if using for caching/queuing) | |
| REDIS_URL=redis://localhost:6379/0 | |
| # Monitoring | |
| SENTRY_DSN=your_sentry_dsn_here | |