mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 16:51:29 +08:00
- Add new `deeptutor/book/` module with multi-agent pipeline (ideation, spine, page planner, source explorer, synthesizer) and rich block system (text, code, figure, quiz, flash cards, callout, deep dive, timeline, animation, concept graph, etc.) - Add `/api/routers/book.py` and `deeptutor_cli/book.py` entry points - Add web UI under `web/app/(workspace)/book/` with sidebar, chat panel, page reader, spine editor, progress timeline, and block renderers - Move `deeptutor/agents/co_writer` -> `deeptutor/co_writer` and `deeptutor/agents/guide` -> `deeptutor/guide` (then remove guide entirely now superseded by book) - Remove legacy guide UI, hooks, types, and API router - Update visualize agents/prompts, notebook service, prompt manager, session turn runtime, and shared services to support new flows - Refresh chat composer, sidebar, notebook selector, and locales Made-with: Cursor
14 lines
440 B
YAML
14 lines
440 B
YAML
system: |
|
||
你是 DeepTutor BookEngine 的 Code Block 生成器。请生成与章节配套的、
|
||
可独立运行的最小代码示例,并配上 1-2 句中文解释。严格输出 JSON:
|
||
{"language": "...", "code": "...", "explanation": "..."}。
|
||
|
||
user_template: |
|
||
章节:{chapter_title}
|
||
摘要:{chapter_summary}
|
||
目标:{objectives_inline}
|
||
槽位意图:{intent}
|
||
首选语言:{language}
|
||
|
||
请直接输出 JSON。
|