# ============================================================================ # Open-Tutor Environment Configuration # ============================================================================ # Copy this file to .env and fill in your API keys and settings. # All API keys should be kept confidential and never committed to version control. # ============================================================================ # ============================================================================ # LLM (Large Language Model) Configuration # ============================================================================ # Configure the main AI model used for reasoning, generation, and conversation. # Supports OpenAI-compatible APIs (OpenAI, Azure OpenAI, DeepSeek, Qwen, etc.) # LLM service provider type # Options: openai, azure_openai, ollama, lollms LLM_BINDING=openai # Model name for the LLM # Examples: gpt-4o, gpt-4o-mini, deepseek-chat, qwen-plus, claude-3-5-sonnet LLM_MODEL= # LLM API endpoint URL # OpenAI: https://api.openai.com/v1 # Azure OpenAI: https://YOUR_RESOURCE.openai.azure.com # DeepSeek: https://api.deepseek.com # Alibaba Qwen: https://dashscope.aliyuncs.com/compatible-mode/v1 LLM_BINDING_HOST= # LLM API authentication key LLM_BINDING_API_KEY= # Disable SSL certificate verification (set 'true' for self-signed certificates) DISABLE_SSL_VERIFY=false # ============================================================================ # Embedding Model Configuration # ============================================================================ # Configure the text embedding model used for semantic search and RAG. # Required for knowledge base functionality. # Embedding service provider type # Options: openai, azure_openai, ollama, lollms EMBEDDING_BINDING=openai # Embedding model name # Examples: text-embedding-3-large, text-embedding-3-small, text-embedding-ada-002 EMBEDDING_MODEL=text-embedding-3-large # Embedding vector dimension EMBEDDING_DIM=3072 # Embedding API endpoint URL (same format as LLM_BINDING_HOST) EMBEDDING_BINDING_HOST= # Embedding API authentication key EMBEDDING_BINDING_API_KEY= # ============================================================================ # TTS (Text-to-Speech) Configuration # ============================================================================ # Configure voice synthesis for the Co-Writer narration feature. # Currently only supports Alibaba Cloud DashScope TTS service. # TTS model name TTS_MODEL= # TTS API endpoint URL TTS_URL= # TTS API authentication key TTS_API_KEY= # ============================================================================ # Web Search Configuration # ============================================================================ # Configure external search APIs for research features. # Perplexity API key for web search functionality # Get your API key at: https://www.perplexity.ai/settings/api PERPLEXITY_API_KEY= # ============================================================================ # Logging Configuration # ============================================================================ # Log level for RAG tool module # Options: DEBUG, INFO, WARNING, ERROR RAG_TOOL_MODULE_LOG_LEVEL=INFO