mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 23:00:20 +08:00
* feat: enhance error handling and logging in DocumentAdder * feat: implement robust error handling utilities for API exceptions * style: fix formatting issues * feat: implement retry logic for LLM API calls to handle rate limits and timeouts * feat: enhance document validation and error handling in file uploads * feat: enhance valid tools configuration and error handling in project structure * feat: refactor error handling and validation functions for improved robustness * fix: pre-commit format * feat: implement configuration validation for tool consistency and enhance error handling in file uploads * feat: add exception hierarchy for LLM service errors to improve error handling * chore: update repo roster images [skip ci] * chore: update repo roster images [skip ci] * Integrate documentation updates and rebase onto upstream dev * Implement error handling utilities and validation functions * feat: implement multi-provider support with enhanced capability handling and model extraction * fix: enhance error handling and validation across multiple modules * chore: remove unused local environment configuration file * commit * fix: improve error handling and logging in utilities and error handler * fix: enhance error handling and logging across multiple modules * fix: enhance async initialization and validation in multiple modules * feat: implement LLM error framework - Add LLM-specific exception classes in exceptions.py - Create error mapping utilities for standardized error handling - Implement base provider interface with error handling - Add OpenAI provider implementation with error mapping - Define LLM types and response structures * feat: add missing registry and telemetry modules - Add registry.py for provider registration system - Add telemetry.py for basic LLM call tracking - Complete the LLM error framework implementation * fix(llm): safer sync wrapper + smarter retries + optional openai mapping * Fix LLM error framework and code quality improvements * feat: update environment configuration and improve logging in LLM services * Update README.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Refactor code structure for improved readability and maintainability * chore: update documentation, improve error handling, and enhance file upload validation * feat: enhance error handling and configuration validation across multiple modules * feat: add configuration for pytest, improve error handling, and enhance byte formatting utilities --------- Co-authored-by: scrrlt <smo0051@student.monash.edu> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
163 lines
5.5 KiB
Markdown
163 lines
5.5 KiB
Markdown
# 🏛️ DeepTutor's Framework
|
|
|
|
<img src="/full-pipe.png" alt="DeepTutor Full-Stack Workflow" width="100%">
|
|
|
|
## 💬 User Interface Layer
|
|
• **Intuitive Interaction**: Simple bidirectional query-response flow for intuitive interaction.
|
|
• **Structured Output**: Structured response generation that organizes complex information into actionable outputs.
|
|
• **Dark/Light Mode**: System-wide theme support with automatic system preference detection.
|
|
• **Collapsible Sidebar**: Compact navigation with icon-only mode for focused learning.
|
|
|
|
## 🤖 Intelligent Agent Modules
|
|
• **Problem Solving & Assessment**: Step-by-step problem solving and custom assessment generation.
|
|
• **Research & Learning**: Deep Research for topic exploration and Guided Learning with visualization.
|
|
• **Idea Generation**: Automated and interactive concept development with multi-source insights.
|
|
|
|
## 🔧 Tool Integration Layer
|
|
• **Information Retrieval**: RAG hybrid retrieval, real-time web search, and academic paper databases.
|
|
• **Processing & Analysis**: Python code execution, query item lookup, and PDF parsing for document analysis.
|
|
• **Multi-Provider Support**: Flexible LLM providers (OpenAI, Anthropic, Ollama, etc.) and embedding adapters (OpenAI, Jina, Cohere, Ollama, etc.).
|
|
|
|
## 🧠 Knowledge & Memory Foundation
|
|
• **Knowledge Graph**: Entity-relation mapping for semantic connections and knowledge discovery.
|
|
• **Vector Store**: Embedding-based semantic search for intelligent content retrieval.
|
|
• **Memory System**: Session state management and citation tracking for contextual continuity.
|
|
|
|
---
|
|
|
|
# Key Features of DeepTutor
|
|
|
|
## 📚 Massive Document Knowledge Q&A
|
|
|
|
• **Smart Knowledge Base**: Upload textbooks, research papers, technical manuals, and domain-specific documents. Build a comprehensive AI-powered knowledge repository for instant access.
|
|
|
|
• **Multi-Agent Problem Solving**: Dual-loop reasoning architecture with RAG, web search, paper search, and code execution—delivering step-by-step solutions with precise citations.
|
|
|
|
## 🎨 Interactive Learning Visualization
|
|
|
|
• **Knowledge Simplification & Explanations**: Transform complex concepts, knowledge, and algorithms into easy-to-understand visual aids, detailed step-by-step breakdowns, and engaging interactive demonstrations.
|
|
|
|
• **Personalized Q&A**: Context-aware conversations that adapt to your learning progress, with interactive pages and session-based knowledge tracking.
|
|
|
|
## 🎯 Knowledge Reinforcement with Practice Problem Generator
|
|
|
|
• **Intelligent Exercise Creation**: Generate targeted quizzes, practice problems, and customized assessments tailored to your current knowledge level and specific learning objectives.
|
|
|
|
• **Authentic Exam Simulation**: Upload reference exams to generate practice questions that perfectly match the original style, format, and difficulty—giving you realistic preparation for the actual test.
|
|
|
|
## 🔍 Deep Research & Idea Generation
|
|
|
|
• **Comprehensive Research & Literature Review**: Conduct in-depth topic exploration with systematic analysis. Identify patterns, connect related concepts across disciplines, and synthesize existing research findings.
|
|
|
|
• **Novel Insight Discovery**: Generate structured learning materials and uncover knowledge gaps. Identify promising new research directions through intelligent cross-domain knowledge synthesis.
|
|
|
|
---
|
|
|
|
<!-- Core Learning Experience -->
|
|
|
|
<table>
|
|
<tr>
|
|
<td width="50%" align="center" valign="top">
|
|
|
|
### 📚 Massive Document Knowledge Q&A
|
|
|
|
<img src="/solve.gif" alt="Document Q&A demonstration" width="100%">
|
|
|
|
Document Q&A and Step-by-Step Problem Solving
|
|
|
|
</td>
|
|
<td width="50%" align="center" valign="top">
|
|
|
|
### 🎨 Interactive Learning Visualization
|
|
|
|
<img src="/guided-learning.gif" alt="Interactive learning visualization demo" width="100%">
|
|
|
|
Interactive AI Learning with Knowledge Visual Explanations
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- Practice & Reinforcement -->
|
|
|
|
### 🎯 Knowledge Reinforcement
|
|
|
|
<table>
|
|
<tr>
|
|
<td width="50%" valign="top" align="center">
|
|
|
|
<img src="/question-1.gif" alt="Custom question generation demo" width="100%">
|
|
|
|
**Custom Questions**
|
|
Auto-Validated Practice Questions with Instant Feedback
|
|
|
|
</td>
|
|
<td width="50%" valign="top" align="center">
|
|
|
|
<img src="/question-2.gif" alt="Mimic exam style questions demo" width="100%">
|
|
|
|
**Mimic Questions**
|
|
Clone Exam Style for Authentic Practice
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- Research & Creation -->
|
|
|
|
### 🔍 Deep Research & Idea Generation
|
|
|
|
<table>
|
|
<tr>
|
|
<td width="33%" align="center">
|
|
|
|
<img src="/deepresearch.gif" alt="Deep research with web and paper search demo" width="100%">
|
|
|
|
**Deep Research**
|
|
Web and Paper Search with Literature Review
|
|
|
|
</td>
|
|
<td width="33%" align="center">
|
|
|
|
<img src="/ideagen.gif" alt="Automated idea generation demo" width="100%">
|
|
|
|
**Automated IdeaGen**
|
|
Systematic Brainstorming and Concept Synthesis
|
|
|
|
</td>
|
|
<td width="33%" align="center">
|
|
|
|
<img src="/co-writer.gif" alt="Interactive idea generation demo" width="100%">
|
|
|
|
**Interactive IdeaGen**
|
|
RAG-powered Idea Generation with Multi-Source Insights
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<!-- Knowledge Infrastructure -->
|
|
|
|
### 🏗️ All-in-One Knowledge System
|
|
|
|
<table>
|
|
<tr>
|
|
<td width="50%" align="center">
|
|
|
|
<img src="/knowledge_bases.png" alt="Personal knowledge base demo" width="100%">
|
|
|
|
**Personal Knowledge Base**
|
|
Build and Organize Your Own Knowledge Repository
|
|
|
|
</td>
|
|
<td width="50%" align="center">
|
|
|
|
<img src="/notebooks.png" alt="Personal notebook demo" width="100%">
|
|
|
|
**Personal Notebook**
|
|
Your Contextual Memory for Learning Sessions
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|