# ========================================================= # AI Chat - Environment Variables # Copy this file to ".env" and fill in your own values. # NEVER commit your real .env file to version control. # ========================================================= # REQUIRED: Your OpenAI API key (get one at https://platform.openai.com/api-keys) OPENAI_API_KEY= # OPTIONAL: Model to use for the Responses API OPENAI_MODEL=gpt-4o-mini # OPTIONAL: Sampling temperature (0.0 = focused/deterministic, 2.0 = very creative) OPENAI_TEMPERATURE=0.7 # OPTIONAL: Maximum tokens the model may generate per reply OPENAI_MAX_OUTPUT_TOKENS=1024 # OPTIONAL: System prompt / instructions sent with every request SYSTEM_PROMPT="You are a helpful, friendly, and knowledgeable AI assistant. Answer clearly and concisely, and use Markdown formatting (including fenced code blocks with language hints) when it improves readability." # OPTIONAL: How many past messages to keep in memory per session MAX_HISTORY_MESSAGES=20 # OPTIONAL: Flask settings FLASK_SECRET_KEY= FLASK_DEBUG=True FLASK_HOST=127.0.0.1 FLASK_PORT=8000