.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
LLM_MODE
LLM_BINDING
LLM service provider type Options: openai, azure_openai, ollama, anthropic
LLM_MODEL
Model name for the LLM Cloud examples: gpt-4o, gpt-4o-mini, deepseek-chat, claude-3-5-sonnet-20241022 Local examples: llama3.2, qwen2.5,…
LLM_HOST
LLM API endpoint URL Cloud examples: OpenAI: https://api.openai.com/v1 DeepSeek: https://api.deepseek.com Anthropic:…
LLM_API_KEY
secret
LLM API authentication key Required for cloud APIs, optional for local deployment For Ollama, you can use any string (e.g., "ollama")
DISABLE_SSL_VERIFY
Disable SSL certificate verification (set 'true' for self-signed certificates)
EMBEDDING_BINDING
Embedding service provider type Options: openai, azure_openai, ollama, lollms
EMBEDDING_MODEL
Embedding model name Cloud examples: text-embedding-3-large, text-embedding-3-small, text-embedding-ada-002 Local examples (Ollama):…
EMBEDDING_DIMENSION
Embedding vector dimension text-embedding-3-large: 3072 text-embedding-3-small: 1536 nomic-embed-text: 768 mxbai-embed-large: 1024
EMBEDDING_HOST
Embedding API endpoint URL Cloud: https://api.openai.com/v1 Local (Ollama): http://localhost:11434
EMBEDDING_API_KEY
secret
Embedding API authentication key Required for cloud providers, not needed for Ollama
TTS_MODEL
TTS model name (e.g., tts-1, tts-1-hd)
TTS_URL
TTS API endpoint URL (e.g., https://api.openai.com/v1)
TTS_API_KEY
secret
TTS API authentication key
SEARCH_PROVIDER
Search provider to use for web search Options: perplexity, baidu Default: perplexity
PERPLEXITY_API_KEY
secret
Perplexity AI Search Configuration Perplexity API key for web search functionality Get your API key at:…
BAIDU_API_KEY
secret
Baidu AI Search Configuration (百度AI搜索) Baidu API Key for intelligent search and generation Get your API key at:…
RAG_TOOL_MODULE_LOG_LEVEL
Log level for RAG tool module Options: DEBUG, INFO, WARNING, ERROR
brew install flyctl && fly launch --from https://github.com/adongwanai/deeptutor
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/adongwanai/deeptutor
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/adongwanai/deeptutor