Spaces:
Sleeping
Sleeping
| # ============================================================= | |
| # IntegraChat Environment Variables Template | |
| # ============================================================= | |
| # Copy this file to .env and fill in your actual values | |
| # ============================================================= | |
| # SUPABASE CONFIGURATION | |
| # ============================================================= | |
| SUPABASE_URL=https://your-project.supabase.co | |
| SUPABASE_SERVICE_KEY=your_service_role_key_here | |
| POSTGRESQL_URL=postgresql://user:password@host:port/database | |
| # ============================================================= | |
| # LLM CONFIGURATION | |
| # ============================================================= | |
| # Backend selection: "ollama" (local) or "groq" (cloud API) | |
| # For Hugging Face Spaces, use "groq" | |
| LLM_BACKEND=groq | |
| # Option 1: Using Groq API (recommended for Hugging Face Spaces) | |
| # Get free API key at https://console.groq.com | |
| GROQ_API_KEY=your_groq_api_key_here | |
| GROQ_MODEL=llama-3.1-70b-versatile | |
| # Option 2: Using local Ollama (for local development) | |
| # OLLAMA_URL=http://localhost:11434 | |
| # OLLAMA_MODEL=llama3.1:latest | |
| # ============================================================= | |
| # MCP SERVER CONFIG | |
| # ============================================================= | |
| # Legacy FastAPI endpoints (remove once all callers use the unified MCP server) | |
| RAG_MCP_URL=http://localhost:8001 | |
| WEB_MCP_URL=http://localhost:8002 | |
| ADMIN_MCP_URL=http://localhost:8003 | |
| # Unified MCP server identifier (namespaced tools) | |
| MCP_SERVER_ID=integrachat | |
| # ============================================================= | |
| # BACKEND CONFIG | |
| # ============================================================= | |
| APP_ENV=development | |
| LOG_LEVEL=info | |
| API_PORT=8000 | |
| # ============================================================= | |
| # OPTIONAL: ALERTING | |
| # ============================================================= | |
| # ALERT_WEBHOOK=https://hooks.slack.com/services/your/webhook/url | |