NexusLearnAI / config.py
ChaseHan's picture
Upload 15 files
833dac3 verified
raw
history blame contribute delete
543 Bytes
import os
"""
Configuration settings for the Educational LLM Application
"""
# OpenAI API settings
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY") # Or replace with your actual API key
OPENAI_MODEL = "gpt-4o" # Model name
OPENAI_TIMEOUT = 30 # Timeout in seconds
OPENAI_MAX_RETRIES = 3 # Maximum number of retries
# Application settings
DEBUG_MODE = True # Enable debug output
USE_FALLBACK_DATA = True # Set to True to enable fallback to mock data when API calls fail
CACHE_ENABLED = False # Disable caching to always get fresh responses