# ============================================================================ # Deep-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. # You can adjust the max_token parameters in DeepTutor\config\agents.yaml. # ============================================================================ # ============================================================================ # 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 LLM_MODEL= # LLM API endpoint URL 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 EMBEDDING_BINDING_HOST= # Embedding API authentication key EMBEDDING_BINDING_API_KEY= # ============================================================================ # TTS (Text-to-Speech) Configuration (Optional) # ============================================================================ # Configure voice synthesis for the Co-Writer(Interactive IdeaGen) narration feature. # Also remember to choose a voice in DeepTutor\config\main.yaml. # 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