# API Configuration | |
# Get your OpenAI API key from: https://platform.openai.com/api-keys | |
OPENAI_API_KEY=your_openai_key_here | |
# Get your Anthropic API key from: https://console.anthropic.com/ | |
ANTHROPIC_API_KEY=your_anthropic_key_here | |
# Default AI provider (openai or anthropic) | |
DEFAULT_PROVIDER=openai | |
# Application Settings | |
MAX_SUGGESTIONS=5 | |
DEBOUNCE_DELAY=300 | |
CACHE_TTL=3600 | |
MAX_INPUT_LENGTH=1000 | |
# Cache Configuration | |
CACHE_MAX_SIZE=1000 | |
CACHE_ENABLED=true | |
# Logging Configuration | |
LOG_LEVEL=INFO | |
LOG_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s | |
# API Rate Limiting | |
RATE_LIMIT_REQUESTS_PER_MINUTE=60 | |
RATE_LIMIT_ENABLED=true | |
# Model Configuration | |
OPENAI_MODEL=gpt-4.1-mini | |
ANTHROPIC_MODEL=claude-3-haiku-20240307 | |
# Temperature settings for different contexts (0.0 to 2.0) | |
TEMPERATURE_EMAIL=0.6 | |
TEMPERATURE_CREATIVE=0.8 | |
TEMPERATURE_LINKEDIN=0.7 | |
# Default token limits for different contexts | |
DEFAULT_TOKENS_EMAIL=250 | |
DEFAULT_TOKENS_CREATIVE=500 | |
DEFAULT_TOKENS_LINKEDIN=500 | |
# UI Configuration | |
UI_THEME=soft | |
UI_TITLE=π LinkedIn Smart Auto-Complete | |
UI_DESCRIPTION=Intelligent LinkedIn text completion powered by AI | |
# Server Configuration | |
SERVER_HOST=0.0.0.0 | |
SERVER_PORT=7860 | |
SERVER_SHARE=false | |
# Security Settings | |
ENABLE_INPUT_SANITIZATION=true | |
MAX_CONCURRENT_REQUESTS=10 | |
# Development Settings | |
DEBUG_MODE=false | |
ENABLE_ANALYTICS=true | |