# Silent AI - Configuration File
# Copy this file to .env and fill in your values

# =============================================================================
# LLM CONFIGURATION
# =============================================================================

# LLM Provider: "openai", "anthropic", or "local" (Ollama)
LLM_PROVIDER=openai

# LLM Model to use
# OpenAI: gpt-4o, gpt-4o-mini, gpt-3.5-turbo
# Anthropic: claude-3-5-sonnet-20241022, claude-3-haiku-20240307
# Local (Ollama): llama3, llama3.2, mistral, phi3
LLM_MODEL=gpt-4o-mini

# API Key for cloud providers (not needed for local)
# Get OpenAI key: https://platform.openai.com/api-keys
# Get Anthropic key: https://console.anthropic.com/
LLM_API_KEY=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
OPENAI_API_KEY=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

# Base URL for LLM API
# For Ollama (local): http://localhost:11434/v1
# For Docker with Ollama: http://ollama:11434/v1
# For OpenAI/Anthropic: leave empty (uses default)
LLM_BASE_URL=

# =============================================================================
# API CONFIGURATION
# =============================================================================

# API Host and Port
API_HOST=0.0.0.0
API_PORT=8000

# Require API key authentication? (true/false)
# Set to true for production
API_KEY_REQUIRED=false

# =============================================================================
# AFFILIATE CONFIGURATION
# =============================================================================

# Enable affiliate links? (true/false)
ENABLE_AFFILIATES=true

# Amazon Associates Tag
# Sign up: https://affiliate-program.amazon.com/
# Format: yoursite-20
AMAZON_TAG=

# ClickBank Affiliate ID
# Sign up: https://clickbank.com/
CLICKBANK_AFFILIATE=

# =============================================================================
# PRODUCTION DEPLOYMENT TIPS
# =============================================================================

# For best performance:
# - Use "openai" or "anthropic" provider (faster than local Ollama)
# - Set API_KEY_REQUIRED=true
# - Add your Amazon and ClickBank affiliate IDs
# - Deploy with Docker: docker-compose up -d

# For Docker deployment with local Ollama:
# - Uncomment the ollama service in docker-compose.yml
# - Set LLM_BASE_URL=http://ollama:11434
# - Or use http://host.docker.internal:11434 for Ollama running on host

# =============================================================================
# EMAIL NOTIFICATION CONFIGURATION
# =============================================================================

# Email account for sending notifications
# Recommended: Create dedicated Gmail account for notifications
# Example: eventfollowers.notifications@gmail.com
NOTIFICATION_EMAIL=

# App password for email account
# For Gmail: https://myaccount.google.com/apppasswords
# 1. Enable 2-Factor Authentication on Gmail
# 2. Generate App Password (select "Mail" and "Other")
# 3. Copy 16-character password here (no spaces)
NOTIFICATION_PASSWORD=

# Where to send subscription alerts (your personal email)
# Can be same as NOTIFICATION_EMAIL or different
ALERT_EMAIL=

# =============================================================================
# STRIPE PAYMENT CONFIGURATION
# =============================================================================

# Stripe API Keys
# Get from: https://dashboard.stripe.com/apikeys
# Use TEST keys (sk_test_...) for testing, LIVE keys for production
STRIPE_SECRET_KEY=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
STRIPE_PUBLISHABLE_KEY=pk_live_51SU3UOCiphGKUQpxM5Fe29csLT4OQlNIFIpUDIpeSOdOaU1KBYEPrf9GSiKVjgDtrHhgJZ1KJ2J0Jz5hy5CWOMp200UUVpgi76

# Stripe Webhook Secret
# Get from: https://dashboard.stripe.com/webhooks
# Or use Stripe CLI for local testing
STRIPE_WEBHOOK_SECRET=

# Stripe Price IDs (created after running stripe_integration.py)
# These will be generated when you create products
STRIPE_BASIC_PRICE_ID=price_1SVmthCiphGKUQpxUNTaIW8h
STRIPE_UNLIMITED_PRICE_ID=price_1SVmvJCiphGKUQpxxvVS0F1B

# Base URL for payment redirects
# Local: http://localhost:5000
# Production: https://yourdomain.com
BASE_URL=http://localhost:5000
