# API Keys and Credentials (at least one required, or use Ollama) OPENAI_API_KEY=your_openai_api_key_here HUGGINGFACE_API_KEY=your_huggingface_api_key_here ANTHROPIC_API_KEY=your_anthropic_api_key_here # Ollama Configuration (local LLM - no API key needed) OLLAMA_BASE_URL=http://localhost:11434 OLLAMA_MODEL=llama2 OLLAMA_EMBEDDING_MODEL=nomic-embed-text # Vector Database Configuration PINECONE_API_KEY=your_pinecone_api_key_here PINECONE_ENVIRONMENT=us-west1-gcp PINECONE_INDEX_NAME=ai-api-vectors # Authentication API_KEYS=demo-key-1,demo-key-2,admin-key-3 ADMIN_API_KEYS=admin-key-3 # Rate Limiting (requests per minute) RATE_LIMIT_DEFAULT=60 RATE_LIMIT_PREMIUM=300 RATE_LIMIT_ADMIN=1000 # Model Configuration DEFAULT_CHAT_MODEL=llama2 DEFAULT_EMBEDDING_MODEL=nomic-embed-text DEFAULT_IMAGE_MODEL=dall-e-3 DEFAULT_VOICE_MODEL=tts-1 # Service Configuration PORT=8000 LOG_LEVEL=info CORS_ORIGINS=http://localhost:3000,http://localhost:5173 # Document Processing MAX_FILE_SIZE_MB=10 CHUNK_SIZE=1000 CHUNK_OVERLAP=200 # Background Workers ENABLE_BACKGROUND_WORKERS=true WORKER_CONCURRENCY=5