# AI API Configuration
# Copy this to .env in your project root and add your API keys
# OpenAI Configuration
OPENAI_API_KEY=your-openai-api-key-here
OPENAI_MODEL=gpt-3.5-turbo
OPENAI_BASE_URL=https://api.openai.com/v1
# Anthropic Configuration
ANTHROPIC_API_KEY=your-anthropic-api-key-here
ANTHROPIC_MODEL=claude-3-sonnet-20240229
ANTHROPIC_BASE_URL=https://api.anthropic.com/v1
# Hugging Face Configuration
HF_API_KEY=your-huggingface-api-key-here
HF_MODEL=cardiffnlp/twitter-roberta-base-sentiment-latest
HF_BASE_URL=https://api-inference.huggingface.co/models
# Custom ML API Endpoints (replace with your own)
FRAUD_API_ENDPOINT=http://localhost:8080/api/fraud/detect
FRAUD_API_KEY=your-fraud-detection-api-key
TIER_API_ENDPOINT=http://localhost:8080/api/ml/predict-tier
ML_API_KEY=your-ml-prediction-api-key
# API Configuration
MAX_RETRIES=3
REQUEST_TIMEOUT_SECONDS=30
CACHE_TTL_SECONDS=300
# Fallback Configuration
ENABLE_FALLBACK=true
FALLBACK_TO_SIMULATION=true
LOG_API_ERRORS=true