DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.
Python ai-agentsai-tutorclawbotcli-tooldeepresearchinteractive-learninglearningmulti-agent-systemsrag
Merge main into dev
Pancake093c98fbf751
diff --cc docs/guide/configuration.mdindex e34b7607a,bcef38f54..660dbdfca--- a/docs/guide/configuration.md+++ b/docs/guide/configuration.md@@@ -120,78 -45,25 +45,47 @@@ TTS_URLTTS_API_KEY=```+### ☁️ Azure OpenAI Configuration++When using Azure OpenAI, you must set the `LLM_API_VERSION` and provide the correct endpoint URL including the deployment name.++```bash+LLM_BINDING=azure_openai+LLM_MODEL=gpt-4o # Your Azure deployment name+LLM_HOST=https://{your-resource}.openai.azure.com/openai/deployments/{deployment-id}+LLM_API_KEY=your_azure_api_key+LLM_API_VERSION=2024-02-15-preview # Required for Azure+```++Similarly for embeddings:++```bash+EMBEDDING_BINDING=azure_openai+EMBEDDING_MODEL=text-embedding-3-large # Your Azure deployment name+EMBEDDING_HOST=https://{your-resource}.openai.azure.com/openai/deployments/{deployment-id}+EMBEDDING_API_KEY=your_azure_api_key+EMBEDDING_API_VERSION=2024-02-15-preview+```+- ## 🔌 Supported Providers-- ### LLM Providers+ ## Agent Parameters- | Provider | `LLM_BINDING` Value | Notes |- |:---------|:--------------------|:------|- | OpenAI | `openai` | GPT-4o, GPT-4, GPT-3.5, etc. |- | Anthropic | `anthropic` | Claude 3.5, Claude 3, etc. |- | Azure OpenAI | `azure_openai` | Enterprise deployments |- | Ollama | `ollama` | Local models (auto adds `/v1` suffix) |- | Groq | `groq` | Fast inference |- | OpenRouter | `openrouter` | Multi-model gateway |- | DeepSeek | `deepseek` | DeepSeek-V3, DeepSeek-R1 |- | Google Gemini | `gemini` | OpenAI-compatible mode |+ Edit `config/agents.yaml`:- ### Embedding Providers-- | Provider | `EMBEDDING_BINDING` Value | Notes |- |:---------|:--------------------------|:------|- | OpenAI | `openai` | text-embedding-3-large/small |- | Azure OpenAI | `azure_openai` | Enterprise deployments |- | Jina AI | `jina` | jina-embeddings-v3 |- | Cohere | `cohere` | embed-v3 series |- | Ollama | `ollama` | Local embedding models |- | LM Studio | `lm_studio` | Local inference server |- | HuggingFace | `huggingface` | OpenAI-compatible endpoints |-- > **Note**: Please make sure you have configured the correct `EMBEDDING_DIMENSION`. Currently our RAG module uses RAG-Anything, you could further check [its repo](https://github.com/HKUDS/RAG-Anything) for more questions.-- ## 🛠️ Tool Configuration+ ```yaml+ solve:+ temperature: 0.3+ max_tokens: 8192- Configure tool availability in `config/main.yaml`:+ research:+ temperature: 0.5+ max_tokens: 12000- ```yaml- tools:- rag_tool:- kb_base_dir: ./data/knowledge_bases- default_kb: ai_textbook- run_code:- workspace: ./data/user/run_code_workspace- web_search:- enabled: true # Global switch for web search- query_item:- enabled: true- max_results: 5+ question:+ temperature: 0.7+ max_tokens: 4096```- ## 📂 Data Storage-- All user content and system data are stored in the `data/` directory:+ ## Data Locations```data/