diff --git a/docs/README.md b/docs/README.md index af8d323d3..4db6a4704 100644 --- a/docs/README.md +++ b/docs/README.md @@ -14,48 +14,55 @@ The repository root `README.md` is the GitHub project page. It is not the source ## Design -Organize pages by what the reader is trying to do, then by product area. Diátaxis decides the job of a page. The quadrant name never appears in a folder, a slug, or a sidebar label. +Diátaxis decides the job of a page. The sidebar follows the reader's path. A quadrant name never appears in a folder, a slug, or a sidebar label. -Every page except the splash homepage sets exactly one `quadrant` in frontmatter: +Every page except the splash homepage sets exactly one `quadrant` in frontmatter. One page, one job. A first-success lesson and the durable task page are two pages that link to each other. Do not fold the task page's controls, fields, or ratings into the lesson, and do not turn the task page into a lesson. | Value | Job | | --- | --- | -| `tutorial` | The shortest path to a first success. One path, with no alternate install or feature branches in the body. | +| `tutorial` | One path to a first success. After each key step, say what the reader should see. One plain sentence of why, then a link. No alternate branches, parameters, or architecture. | | `how-to` | Steps for one task. Link out for theory and for parameter lists. | -| `reference` | Parameters, schemas, and catalogs. Prefer a code source over a second prose copy. | -| `explanation` | How a design fits together. No procedures. | +| `reference` | Parameters, schemas, and catalogs. Prefer a code source over a second prose copy. Place it last in its sidebar group. | +| `explanation` | How a design fits together. No procedures. Use it for an area's front door or a concept page at the end of the group. | -The homepage is `template: splash` and omits `quadrant`. Welcome (`welcome.mdx`) is an explanation page and is the front door of the documentation. Its cards follow one concrete task each: a title, one sentence, and a link to the page that finishes that task. +Welcome (`welcome.mdx`) is the front door. Each card names the goal the reader can reach: a title, one sentence, and a link. Install cards open the install tutorials. The six study cards open the Learn lessons, not the how-to pages. -### Install paths +### Sidebar -Desktop is the only default install tutorial (`get-started/desktop/`). Docker is a second, independent tutorial (`get-started/docker/`) and stops at the first successful run. Host folders, reverse proxies, local models, and upgrades live on the self-hosting operations page. +Add a page under the group that owns the task, with a `zh-CN` label. Inside a group, put the explanation home first, how-tos next, and reference or remaining concept pages last. Keep an existing URL when only the sidebar membership changes. -PyPI, source, CLI-only, multi-user, and troubleshooting are self-hosting how-tos. `get-started/` explains the choice among those paths and links to them. It does not repeat their steps. +| Group | What belongs here | +| --- | --- | +| Get started | Welcome, install choices, Desktop, Docker, providers, changelog | +| Learn (`learn/`, label 跟着做) | End-user lessons: one connected study session, study with your materials, solve a photo, practice a topic, research a question, make one figure, follow a path | +| Learning workspace | Workspace how-tos from Workspaces through Calendar. Agent loop and memory stay last. The study-session lesson is listed under Learn; its file can remain `learning-workspace/index.md` | +| Multimodal studio | Which generator to use, then Visualize, Math Animator, and Video Lesson. The Learn figure lesson uses Visualize only and links here | +| Customize | Overview, then personas, skills, MCP, CLI apps, EduHub, agents, RAG | +| Channels | Create a partner, then domestic and international IM. Channel schema last | +| Self-hosting | Runtime home, then install and operations how-tos, then troubleshooting. Desktop editions and configuration files last | +| Developers | Architecture; then CLI, REPL, Python SDK, agent handoff, and contributing; then capabilities, commands, turn protocol, and HTTP API | -### Homepage - -`src/components/HomeLanding.astro` renders the marketing landing for both locales: navigation, hero, product shot, eight places, and four install tabs in this order: PyPI, Docker, source, CLI. Both `index.mdx` files import that component and do not set Starlight `hero` frontmatter. - -The Docs button and the Docs nav item open Welcome (`/welcome/` and `/zh-cn/welcome/`). Eight-place and footer links use the current docs slugs. Community and Collaborate stay on deeptutor.info. `src/styles/landing.css` hides the Starlight header, sidebar, and the splash `

`. Hide that heading, not the content panel that contains the landing. - -### Product areas - -Sidebar groups are product areas. Add a page under the area that owns the task, with a `zh-CN` label. - -| Group | Slug | What belongs here | -| --- | --- | --- | -| Get started | `welcome/`, `get-started/` | Welcome, install choices, Desktop, Docker, providers, changelog | -| Learning workspace | `learning-workspace/` | Chat, agent loop, Vision Solver, questions, mastery, knowledge, books, reading, research, notebook, resources, calendar, memory | -| Multimodal studio | `multimodal-studio/` | Which generator to use, Visualize, Math Animator, Video Lesson | -| Customize | `customize/` | Personas, skills, MCP, CLI apps, EduHub, agents, RAG | -| Channels | `channels/` | Create a partner, channel schema, domestic IM, international IM | -| Self-hosting | `self-hosting/` | Runtime home, PyPI, source, Docker operations, CLI-only, multi-user, Codex sign-in, desktop editions, settings, configuration files, troubleshooting | -| Developers | `developers/` | Architecture, CLI guides, capabilities, command reference, turn protocol, HTTP API | +The Python SDK is a tutorial for someone embedding DeepTutor. It stays under Developers. Learn is only for a person using the product. Home, Learning, and Resources follow the active workspace. Partners and Personalization belong to the account. Say that when a page could mix the two. -Settings in the product are **Settings → Models & services**. Configuration lives in `data/user/settings/*.json`. Process environment variables override only a few startup values. `.env.example` documents Podman host ports, not application settings. +### Install paths + +Desktop (`get-started/desktop/`) is the only default install tutorial. Docker (`get-started/docker/`) is a second tutorial and stops at the first successful run; mark that page `tutorial`. Host folders, reverse proxies, local models, and upgrades stay on `self-hosting/docker/`. + +PyPI, source, CLI-only, multi-user, and troubleshooting are self-hosting how-tos. `get-started/` explains the choice and links to them. It does not repeat their steps. + +### Tutorial voice + +Write tutorials as a person guiding the reader. Use "you", active voice, and short sentences. Match the meaning across English and Chinese. English follows the Google and Microsoft developer style. Chinese should read as written Chinese, not as a translation. + +On the first use of a product term such as provider, profile, capability, skill, or MCP, add a short clause that says what it does. Leave code blocks, commands, environment variables, paths, API fields, UI labels, links, images, heading levels, and MDX components unchanged when editing prose. + +Do not use "simply", "just", "easy", "easily", or "obviously", or the Chinese 只需, 很容易, 轻松, and 显然. + +### Facts that must stay accurate + +Settings in the product are **Settings → Models & services** (设置 → 模型与服务). Configuration lives in `data/user/settings/*.json`. Process environment variables override only a few startup values. `.env.example` documents Podman host ports, not application settings. Desktop data and logs: @@ -64,18 +71,20 @@ Desktop data and logs: | Data | `~/Library/Application Support/Open DeepTutor/workspace/data` | `%LOCALAPPDATA%\Open DeepTutor\workspace\data` | | Logs | `~/Library/Application Support/Open DeepTutor/logs/runtime.log` | `%LOCALAPPDATA%\Open DeepTutor\logs\runtime.log` | -Public download links use the unversioned files on the latest GitHub Release. Packaging and signing stay in `apps/desktop/README.md`. - -The changelog page keeps the five newest user-visible releases. Older notes point at GitHub Releases and `assets/releases/`. - -### Reference that follows code +Public download links use the unversioned files on the latest GitHub Release. Packaging and signing stay in `apps/desktop/README.md`. The changelog keeps the five newest user-visible releases. Older notes point at GitHub Releases and `assets/releases/`. Hand-write a reference page when the prose is the guide. Generate or check it when the page would drift from code: - `docs/scripts/generate_reference.py` rewrites the capability table and appends the HTTP route index from `deeptutor/modules/manifests/*.json` and `deeptutor/api/router_index.json`. Run it after those sources change, then commit the generated Markdown. - `channels/schema.md` stays hand-written in both locales. `check_docs.py` requires every config field declared under `deeptutor/partners/channels` to appear in the matching section. Channel how-tos describe the platform steps and link here for fields. -Keep one primary job per page. Move content to the successor page before deleting the old one, and add a redirect. +Move content to the successor page before deleting the old one, and add a redirect. + +## Homepage + +`src/components/HomeLanding.astro` renders the marketing landing for both locales: navigation, hero, product shot, eight places, and four install tabs in this order: PyPI, Docker, source, CLI. Both `index.mdx` files import that component and do not set Starlight `hero` frontmatter. Desktop install stays on the Welcome cards, not on this landing. + +The Docs button and the Docs nav item open Welcome (`/welcome/` and `/zh-cn/welcome/`). Eight-place and footer links use the current docs slugs. Community and Collaborate stay on deeptutor.info. `src/styles/landing.css` hides the Starlight header, sidebar, and the splash `

`. Hide that heading, not the content panel that contains the landing. ## Languages diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index bf061c434..48e23a308 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -201,14 +201,25 @@ export default defineConfig({ { label: "Changelog", translations: { "zh-CN": "更新日志" }, slug: "get-started/changelog" }, ], }, + { + label: "Learn", + translations: { "zh-CN": "跟着做" }, + items: [ + { label: "Study with your materials", translations: { "zh-CN": "带着材料学习" }, slug: "learn/ask-with-a-source" }, + { label: "Solve a photo", translations: { "zh-CN": "从照片解题" }, slug: "learn/solve-a-photo" }, + { label: "Practice a topic", translations: { "zh-CN": "练一个主题" }, slug: "learn/practice-a-topic" }, + { label: "Research a question", translations: { "zh-CN": "研究一个问题" }, slug: "learn/research-a-question" }, + { label: "Make a figure", translations: { "zh-CN": "把想法呈现出来" }, slug: "learn/make-a-figure" }, + { label: "Follow a path", translations: { "zh-CN": "沿着路径学完" }, slug: "learn/follow-a-path" }, + { label: "A first study session", translations: { "zh-CN": "串起一次完整学习" }, slug: "learning-workspace" }, + ], + }, { label: "Learning workspace", translations: { "zh-CN": "学习工作区" }, items: [ - { label: "A first study session", translations: { "zh-CN": "串起一次完整学习" }, slug: "learning-workspace" }, { label: "Workspaces", translations: { "zh-CN": "工作区" }, slug: "learning-workspace/workspaces" }, { label: "Chat", translations: { "zh-CN": "对话" }, slug: "learning-workspace/chat" }, - { label: "How the agent loop works", translations: { "zh-CN": "智能体循环" }, slug: "learning-workspace/agent-loop" }, { label: "Vision Solver", translations: { "zh-CN": "视觉解题" }, slug: "learning-workspace/vision-solver" }, { label: "Questions & practice", translations: { "zh-CN": "出题与练习" }, slug: "learning-workspace/questions" }, { label: "Mastery Path", translations: { "zh-CN": "精通之路" }, slug: "learning-workspace/mastery" }, @@ -221,6 +232,7 @@ export default defineConfig({ { label: "Resources", translations: { "zh-CN": "资料" }, slug: "learning-workspace/resources" }, { label: "Task Board", translations: { "zh-CN": "任务看板" }, slug: "learning-workspace/task-board" }, { label: "Calendar", translations: { "zh-CN": "日历" }, slug: "learning-workspace/calendar" }, + { label: "How the agent loop works", translations: { "zh-CN": "智能体循环" }, slug: "learning-workspace/agent-loop" }, { label: "Memory", translations: { "zh-CN": "记忆" }, slug: "learning-workspace/memory" }, ], }, @@ -253,7 +265,6 @@ export default defineConfig({ translations: { "zh-CN": "渠道" }, items: [ { label: "Create a partner", translations: { "zh-CN": "创建一个伙伴" }, slug: "channels" }, - { label: "Channel schema", translations: { "zh-CN": "渠道 schema" }, slug: "channels/schema" }, { label: "Domestic IM", translations: { "zh-CN": "国内 IM" }, @@ -283,6 +294,7 @@ export default defineConfig({ { label: "Email", translations: { "zh-CN": "邮件" }, slug: "channels/international/email" }, ], }, + { label: "Channel schema", translations: { "zh-CN": "渠道 schema" }, slug: "channels/schema" }, ], }, { @@ -296,10 +308,10 @@ export default defineConfig({ { label: "CLI only", translations: { "zh-CN": "纯 CLI" }, slug: "self-hosting/cli-only" }, { label: "Multi-user", translations: { "zh-CN": "多用户部署" }, slug: "self-hosting/multi-user" }, { label: "Codex sign-in", translations: { "zh-CN": "Codex 登录" }, slug: "self-hosting/oauth" }, - { label: "Desktop editions", translations: { "zh-CN": "桌面版本" }, slug: "self-hosting/desktop" }, { label: "Settings", translations: { "zh-CN": "设置" }, slug: "self-hosting/settings" }, - { label: "Configuration files", translations: { "zh-CN": "配置文件" }, slug: "self-hosting/configuration" }, { label: "Troubleshooting", translations: { "zh-CN": "故障排查" }, slug: "self-hosting/troubleshooting" }, + { label: "Desktop editions", translations: { "zh-CN": "桌面版本" }, slug: "self-hosting/desktop" }, + { label: "Configuration files", translations: { "zh-CN": "配置文件" }, slug: "self-hosting/configuration" }, ], }, { diff --git a/docs/scripts/check_docs.py b/docs/scripts/check_docs.py index 9092e1795..c5eab78da 100644 --- a/docs/scripts/check_docs.py +++ b/docs/scripts/check_docs.py @@ -69,7 +69,8 @@ def check_screenshots() -> list[str]: for path in CONTENT.rglob("*"): if path.suffix not in {".md", ".mdx"}: continue - referenced.update(re.findall(r"/screenshots/dev/([A-Za-z0-9_.-]+)", path.read_text())) + text = re.sub(r"", "", path.read_text(), flags=re.DOTALL) + referenced.update(re.findall(r"/screenshots/dev/([A-Za-z0-9_.-]+)", text)) for name in sorted(referenced): if not (PUBLIC / name).exists(): errors.append(f"missing screenshot {name}") diff --git a/docs/src/content/docs/developers/guides/sdk.md b/docs/src/content/docs/developers/guides/sdk.md index bfdd97b18..ae7af2b68 100644 --- a/docs/src/content/docs/developers/guides/sdk.md +++ b/docs/src/content/docs/developers/guides/sdk.md @@ -1,10 +1,10 @@ --- title: Python SDK -description: Embed DeepTutor's turn, session, capability, and notebook runtime directly in an async Python application. +description: Call one DeepTutor turn from an async Python program and read the answer as it streams. quadrant: tutorial --- -`DeepTutorApp` is DeepTutor's stable, in-process Python facade. It exposes the same turn payload and runtime contracts used by the CLI, without spawning the CLI or sending requests through the HTTP API. Use it when your application already runs in Python and needs native access to streamed events, sessions, capability metadata, or notebooks. +`DeepTutorApp` is the Python entry point that runs inside your process. A turn is one request and the events that come back until it finishes. The SDK uses the same turn payload the CLI uses. It does not start the CLI, and it does not send the request over HTTP. Use it when your program is already Python and you want the events, the session, or a notebook in the same process. ## Prerequisites @@ -16,7 +16,7 @@ python -m pip install -e . --no-deps deeptutor init --home /path/to/workspace ``` -Run your program with `DEEPTUTOR_HOME=/path/to/workspace`. If that variable is unset, DeepTutor uses the current working directory. The SDK reads the same provider and runtime files under `data/user/settings/` as `deeptutor chat` and `deeptutor run`, so configure a working model before starting a turn. +Run your program with `DEEPTUTOR_HOME=/path/to/workspace`. If that variable is unset, DeepTutor uses the current working directory. The SDK reads the same provider and runtime files under `data/user/settings/` as `deeptutor chat` and `deeptutor run`. Configure a working model before you start a turn, or the call has no model to answer with. ## Run one turn @@ -47,7 +47,9 @@ async def main() -> None: asyncio.run(main()) ``` -`TurnRequest` also accepts a session ID, enabled tools, knowledge bases, language, capability configuration, notebook/history references, partner-group references, attachments, and skills. +When this finishes, the terminal prints the paragraph and a session id. That id is the conversation you can open again. + +`TurnRequest` also accepts a session ID, enabled tools, knowledge bases, language, capability configuration, notebook/history references, partner-group references, attachments, and skills. A capability here is the named workflow for the turn, such as `chat`. ## Available operations @@ -58,13 +60,13 @@ asyncio.run(main()) | Capabilities | `resolve_capability()`, `get_capability_contract()`, `get_capability_contracts()`, `get_capability_availability()` | | Notebooks | `list_notebooks()`, `create_notebook()`, `get_notebook()`, and record add/update/remove/reference methods | -Turn and session methods are async; capability discovery and notebook methods are synchronous. +Turn and session methods are async. You await them. Capability discovery and notebook methods return immediately. ## SDK, CLI, or API? -`deeptutor run --format json` creates the same `DeepTutorApp` and `TurnRequest`, then serializes each `stream_turn()` item as one NDJSON line. Its headless mode automatically answers an `ask_user` pause with an empty reply; SDK callers instead decide when to call `submit_user_reply()`. +`deeptutor run --format json` creates the same `DeepTutorApp` and `TurnRequest`, then writes each `stream_turn()` item as one NDJSON line. If the turn pauses on `ask_user`, that headless command sends an empty reply for you. In the SDK, you choose when to call `submit_user_reply()`. -Use the **CLI** for shell pipelines and agent handoff, the **Python SDK** for an in-process async integration, and the **HTTP / WebSocket API** when DeepTutor must run as a separate service or serve non-Python clients. +Use the **CLI** for a shell pipeline or to hand the stream to another agent. Use the **Python SDK** when the call stays inside your Python process. Use the **HTTP / WebSocket API** when DeepTutor runs as its own service, or when the caller is not Python. ## See also diff --git a/docs/src/content/docs/get-started/desktop.md b/docs/src/content/docs/get-started/desktop.md index 212b6e0ee..7e240874e 100644 --- a/docs/src/content/docs/get-started/desktop.md +++ b/docs/src/content/docs/get-started/desktop.md @@ -4,7 +4,7 @@ description: Install Open DeepTutor, connect one language model, and send a firs quadrant: tutorial --- -Open DeepTutor is the desktop app. The first launch installs its bundled Python and Node runtime, starts them on this computer, and opens the DeepTutor workspace. You do not install Python, Node, or the source tree. +Open DeepTutor is the desktop app. The first time you open it, the app unpacks the Python and Node runtime that came with it, starts those services on this computer, and shows the workspace. You do not install Python, Node, or the source tree yourself. ## 1. Download the app for this computer @@ -14,20 +14,22 @@ Open DeepTutor is the desktop app. The first launch installs its bundled Python | Mac with Intel | [Open DeepTutor for macOS (Intel)](https://github.com/HKUDS/DeepTutor/releases/latest/download/Open-DeepTutor-MacOS-Intel.dmg) | | Windows | [Open DeepTutor for Windows](https://github.com/HKUDS/DeepTutor/releases/latest/download/Open-DeepTutor-Windows-Setup.exe) | -Open the file you downloaded. On macOS, drag the app to Applications. On Windows, finish the installer. Windows SmartScreen asks for confirmation because the installer is unsigned; choose to run it. +Open the file you downloaded. On a Mac, drag the app into Applications. On Windows, finish the installer. Windows SmartScreen asks you to confirm because the installer is unsigned; choose to run it. After that, **Open DeepTutor** is in your applications list. -The Windows portable ZIP is on the [same release](https://github.com/HKUDS/DeepTutor/releases/latest). Use the installer above for this path. +The Windows portable ZIP is on the [same release](https://github.com/HKUDS/DeepTutor/releases/latest). This tutorial uses the installer above. ## 2. Wait until the workspace opens -Launch **Open DeepTutor**. The first start unpacks the bundled runtime and then shows the DeepTutor window. Wait until the workspace is visible. Quit and reopen if the window is still on the startup screen after a few minutes. +Launch **Open DeepTutor**. The first start unpacks the bundled runtime, then opens the DeepTutor window. You can continue when the workspace is on screen and Home is in the sidebar. If the window is still on the startup screen after a few minutes, quit and open the app again. ## 3. Connect one language model +A language model writes the replies. A provider is the vendor, or the local server, that hosts that model. This step gives DeepTutor one model it can call. + 1. Open **Settings → Models & services**. -2. Add one language-model profile for a provider you already have a key for, or a local server that is already running. -3. Choose **Test**. A successful test means this profile can complete a minimal call. -4. Choose **Apply**. +2. Add one language-model profile for a provider you already have a key for, or a local server that is already running. A profile is the saved connection: the provider, the model, and the key or address. +3. Choose **Test**. When the test succeeds, this profile can complete a minimal call. +4. Choose **Apply**. The profile is saved, and the next message can use it. Embedding, search, and voice can wait. [Providers & models](/get-started/providers/) lists those services and the provider catalog. @@ -35,11 +37,11 @@ Embedding, search, and voice can wait. [Providers & models](/get-started/provide Open **Home → Chat**. Ask one concrete question, for example: “Explain the sampling theorem in one paragraph, then give me two questions.” -You are done when a reply appears in the thread. +You are finished when a reply appears in the thread. ## Where your data lives -Learning data and settings stay in the app’s workspace folder. Replacing the app does not replace this folder. +Your notes, chats, and settings stay in the app’s workspace folder. Installing a newer copy of the app leaves this folder where it is. | System | Workspace data | | --- | --- | @@ -49,4 +51,4 @@ Learning data and settings stay in the app’s workspace folder. Replacing the a ## Next - [A first study session](/learning-workspace/) — one topic, one source, one question. -- [Changelog](/get-started/changelog/) — read this before replacing an older desktop app. v1.7.4 changes the runtime signing key, so install that app itself rather than importing an update into an older build. +- [Changelog](/get-started/changelog/) — read this before you replace an older desktop app. v1.7.4 changes the runtime signing key, so install that app itself rather than importing an update into an older build. diff --git a/docs/src/content/docs/get-started/docker.md b/docs/src/content/docs/get-started/docker.md index c16d5b5f5..d6302c63f 100644 --- a/docs/src/content/docs/get-started/docker.md +++ b/docs/src/content/docs/get-started/docker.md @@ -1,7 +1,7 @@ --- title: Docker description: Option 3 — one container for the full Web app, from the GHCR image. -quadrant: how-to +quadrant: tutorial --- One container for the full Web app. Images on GitHub Container Registry: diff --git a/docs/src/content/docs/learn/ask-with-a-source.md b/docs/src/content/docs/learn/ask-with-a-source.md new file mode 100644 index 000000000..a763d059a --- /dev/null +++ b/docs/src/content/docs/learn/ask-with-a-source.md @@ -0,0 +1,54 @@ +--- +title: Study with your materials +description: Attach one PDF or saved record, ask for a citation, and open that source. +quadrant: tutorial +--- + +You study from a PDF or a saved record you already have. You attach that source and ask about it. The reply points back to it. You can check the answer against your own material instead of trusting a general reply you cannot trace. Choose this for a lecture note, a saved passage, or a paper you are reading. You leave with the reply in the thread and one source you opened. + + + +## 1. Open a new chat in the project workspace + +Select the workspace for this project. Open **Home → Chat** and start a new chat. + +The composer is empty, and the workspace name is the project you selected. + +## 2. Attach one source + +Use the `+` control and attach one PDF, or one saved record. + +The source appears on the message you are about to send. + +## 3. Ask a question that needs a citation + +Send: “Explain why low sampling rates can make two different signals look identical; cite this primer.” + +Your message is in the thread, and the source is still attached to it. + +## 4. Read the reply + +Wait until a reply is in the thread. Read it before you open a source. + +The reply is in the thread, and it includes at least one citation. + +## 5. Open one cited source + +Open one citation from the reply. + +The source opens. Compare it with the sentence that cited it. + +You are done when a reply is in the thread and one cited source opens. + + + +You attached the source on this message, so the reply can point at a passage you can open. + +## Learn more + +[Chat](/learning-workspace/chat/) lists the composer controls, what stays attached, and where files land. diff --git a/docs/src/content/docs/learn/follow-a-path.md b/docs/src/content/docs/learn/follow-a-path.md new file mode 100644 index 000000000..73e4de9e1 --- /dev/null +++ b/docs/src/content/docs/learn/follow-a-path.md @@ -0,0 +1,60 @@ +--- +title: Follow a path +description: Create one mastery goal, study one waypoint, and record a result. +quadrant: tutorial +--- + +A goal becomes a route, and one waypoint records that you can do it. You name one ability and study a single waypoint on that route. That waypoint keeps the result. Choose this when the topic takes more than one sitting and you want a record of what you can already do. You leave with that waypoint filled in. The progress ring on the path reads the same record. + + + +## 1. Open Mastery Path + +Open **Learning → Mastery Path**. + +The page lists this workspace’s topics. + +## 2. Write one goal + +Create a **New mastery goal**. Write the ability as a sentence you can demonstrate. For example: “I can state the sampling theorem and say when two sampled signals become indistinguishable.” + +That sentence is on the form. The title comes from it. + +## 3. Add one source + +Add one saved record as the source for this goal. + +The record is listed on the goal. + +## 4. Choose the model + +Choose the model for the opening conversation. + +The opening conversation will use that model. + +## 5. Design the outline with the tutor + +Choose **Design the outline with the tutor**. The tutor reads the source, asks what you already know and how much time you have, and drafts the map with you. + +The outline appears in that conversation. Change it there before you start studying. + +## 6. Study one waypoint + +Study one waypoint. Answer the question, then explain the result in your own words. + +That waypoint shows a recorded result, and the progress ring is no longer empty. + +You are done when that waypoint records a result. The result can be an assessment, or your own statement that you have it. The progress ring uses that record. + + + +That record is what the progress ring reads. + +## Learn more + +[Mastery Path](/learning-workspace/mastery/) explains modes, evidence types, and the review schedule. diff --git a/docs/src/content/docs/learn/make-a-figure.md b/docs/src/content/docs/learn/make-a-figure.md new file mode 100644 index 000000000..b58dacb4b --- /dev/null +++ b/docs/src/content/docs/learn/make-a-figure.md @@ -0,0 +1,47 @@ +--- +title: Make a figure +description: Ask Visualize for one figure and read it in the thread. +quadrant: tutorial +--- + +A relationship that is hard to follow in a sentence becomes one figure in the thread. You describe that relationship and ask Visualize to draw it. Visualize is the workflow that turns one description into a figure you can read in the chat. This lesson uses Visualize only. Choose this when you want the shape, the axes, or the comparison in front of you while you keep reading the thread. You leave with that one figure in the thread. + + + +## 1. Open chat + +Open [Chat](/learning-workspace/chat/). + +The composer is ready. + +## 2. Choose Visualize + +Choose **Visualize** in the capability menu. A capability is the workflow for this turn. Visualize turns one description into a figure in the thread. + +**Visualize** is selected for this message. + +## 3. Ask for one figure + +Send: “Draw a sine wave I can read. Label the axes.” + +Your request is in the thread. + +## 4. Read the figure + +Wait until the figure renders in the thread. It may be SVG, Mermaid, Chart.js, or HTML. + +You are done when that figure appears in the thread. + + + +The figure is in the thread, so you can read it without leaving the chat. + +## Learn more + +- [Visualize](/multimodal-studio/visualize/) — replace a figure, and see which types come back. +- [Which generator to use](/multimodal-studio/) — choose Math Animator or Video Lesson when the next piece has to move or play. This lesson stops at the figure. diff --git a/docs/src/content/docs/learn/practice-a-topic.md b/docs/src/content/docs/learn/practice-a-topic.md new file mode 100644 index 000000000..abdf1fa2c --- /dev/null +++ b/docs/src/content/docs/learn/practice-a-topic.md @@ -0,0 +1,52 @@ +--- +title: Practice a topic +description: Generate one practice set, save it to the question bank, and answer one item. +quadrant: tutorial +--- + +After you study a topic, you find out whether you can still recall it. You ask for a short set of questions and save that set in the question bank. You answer one item from memory before you read the reference answer. Choose this when you have already read the explanation and you want to see what you can answer without it. You leave with one answered item and the set stored in this workspace. You can open that set again from the question bank. + + + +## 1. Choose Quiz + +In [Chat](/learning-workspace/chat/), choose **Quiz**. Quiz writes a practice set from the conversation. + +**Quiz** is selected for this turn. + +## 2. Ask for one set + +Ask for one topic, or attach a source first and ask for a set from that source. + +A set of questions appears in the thread. + +## 3. Save the set + +When the questions look usable, save them into this workspace's question bank. + +The set is in this workspace's question bank. + +## 4. Answer one item + +Open **Resources → Question Bank**, select that set, and start practice. Recall the answer before you look. + +You are looking at one item, and the answer is still hidden. + +## 5. Read the reference answer + +Read the reference answer. The rating controls are on the same card. + +You are done when you have answered one item and seen the reference answer. + + + +The set now lives in this workspace's bank, so you can answer it again from there. + +## Learn more + +[Questions and practice](/learning-workspace/questions/) lists import limits, the recall schedule, and the rating names. diff --git a/docs/src/content/docs/learn/research-a-question.md b/docs/src/content/docs/learn/research-a-question.md new file mode 100644 index 000000000..d6f854a73 --- /dev/null +++ b/docs/src/content/docs/learn/research-a-question.md @@ -0,0 +1,60 @@ +--- +title: Research a question +description: Ask one question and read a cited report in the thread. +quadrant: tutorial +--- + +One question leaves a report whose sources you can open later. You ask that question in the thread, and the reply comes back as a report with citations. The report stays in the thread, so you can return to the source behind a claim. Choose this when you want the papers or pages to stay with the answer. You leave with the report in the thread and at least one source you opened. + + + +## 1. Open chat in the project workspace + +Open [Chat](/learning-workspace/chat/) in the project workspace. + +The composer is ready in that workspace. + +## 2. Choose Research + +Choose **Research** under **More Capabilities**. A capability is the workflow for this turn. Research investigates a question and returns a cited report. + +**Research** is selected for this message. + +## 3. Decide where the sources come from + +Attach a knowledge base when the sources should come from your library. Otherwise this turn can use the web and preprint search the workspace already allows. + +If you attached a knowledge base, its name is on the composer. If you did not, the composer has no knowledge-base chip. + +## 4. Ask one question + +Send: “What changed in retrieval-augmented generation after 2023? Cite the papers you use, and stop at six.” + +Your question is in the thread. + +## 5. Wait for the report + +Wait until the report is in the thread. + +The thread shows a report with citations. + +## 6. Open one cited source + +Open one cited item before you rely on a claim. + +The source opens. + +You are done when the thread shows a report with citations. + + + +The report keeps the citations with the answer, so you can open a source before you trust a claim. + +## Learn more + +[Research](/learning-workspace/research/) covers filing the report in Favorites and the notebook. diff --git a/docs/src/content/docs/learn/solve-a-photo.md b/docs/src/content/docs/learn/solve-a-photo.md new file mode 100644 index 000000000..3f7af001d --- /dev/null +++ b/docs/src/content/docs/learn/solve-a-photo.md @@ -0,0 +1,54 @@ +--- +title: Solve a photo +description: Attach one cropped problem photo and check the worked steps in the thread. +quadrant: tutorial +--- + +You turn a problem on paper into steps you can check against the picture. You attach one cropped photo of that problem. The reply puts the steps and a final answer in the thread. Choose this when the problem is on a page, a worksheet, or a photo, and you want to follow each line of the work. You leave with those steps on screen beside the photo. You can see which step matches the picture and which step does not. + + + +## 1. Open chat in the subject workspace + +Open [Chat](/learning-workspace/chat/) in the workspace for this subject. + +The composer is ready in that workspace. + +## 2. Choose Solve + +In the capability menu, open **More Capabilities** and choose **Solve**. A capability is the workflow for this turn. + +**Solve** is selected on the message you are about to send. + +## 3. Attach one cropped photo + +Use **+** and attach one photo of the problem. Crop it to the question you want solved. + +The photo is attached to the message. + +## 4. Ask for steps and a final answer + +Send: “Solve this. Show each step, then the final answer. Stop and ask if the figure is ambiguous.” + +Wait until the reply finishes. The thread shows numbered steps and a final answer. + +## 5. Check the steps against the photo + +Read each step next to the photo. + +The steps and the photo are both on screen. + +You are done when the thread has steps you can check against the photo. + + + +The steps stay in the thread, so you can compare them with the photo. + +## Learn more + +[Vision Solver](/learning-workspace/vision-solver/) covers a geometric figure and saving the question for practice. diff --git a/docs/src/content/docs/learning-workspace/chat.md b/docs/src/content/docs/learning-workspace/chat.md index d115b4ee0..b389a1601 100644 --- a/docs/src/content/docs/learning-workspace/chat.md +++ b/docs/src/content/docs/learning-workspace/chat.md @@ -4,6 +4,8 @@ description: "Send one useful chat turn: pick the workspace, attach material, an quadrant: how-to --- +Attach one source and open a citation in [Study with your materials](/learn/ask-with-a-source/). + Home is where a turn runs. This page is how to send a useful one. For how a turn plans, calls tools, and stops, see [How the agent loop works](/learning-workspace/agent-loop/). ## Where it is @@ -32,18 +34,18 @@ The top-right icons above the thread let you **save useful content to Favorites* 4. Follow tool progress in Activity and open cited sources or generated files when you need to inspect the evidence. 5. Save a useful result to [Favorites](/learning-workspace/favorites/), or develop your own explanation in the [Learning notebook](/learning-workspace/notebook/). Reopen the conversation from Resources → Chat History. -Selecting a connected agent is by default a persistent choice for the session; importing an old agent transcript is a reference. Likewise, an attached file supplies this turn's material by default, while workspace instructions and session preferences shape later turns. Check the visible chips before sending if a reply seems to be using the wrong sources or persona. +A connected agent stays selected for the session. An imported agent transcript is a reference for this message. An attached file supplies this turn. Workspace instructions and session preferences shape later turns. If a reply uses the wrong source or persona, check the chips on the composer before you send again. ## Starting points Under the empty composer, Explain, Solve, Practice, Plan, and Research offer editable starting prompts. A separate personalized suggestion draws on your memory and recent activities; **Suggest something else** replaces it. Choose either to fill the composer, then review before sending. **Customize page → Starting prompts** edits the reusable titles and requests. -**Settings → Conversation** sets how much history feeds them: raise the activity count for suggestions that range wider, lower it to keep them close to what you were just doing. +**Settings → Conversation** sets how much history feeds them: raise the activity count for suggestions that range wider, lower it to keep them close to your latest work. ## Sticky context vs. one-time references -DeepTutor splits context into two kinds, and the composer keeps them in two different places — this is the single most important idea to learn here. +The composer keeps two kinds of context in two places. **Sticky session context** persists across turns until you change it: capability, workspace or course binding, tools, **knowledge bases**, **persona**, **model**, and Reading / Mastery state. The right side exposes the relevant selectors; an agent selected with the Agent chip or `@` stays attached by default, while the microphone only fills the current draft. @@ -64,7 +66,7 @@ Typing **`@`** in the main Chat composer filters the same connected-agent list a The **database icon** opens the knowledge picker. Untouched conversations inherit ready workspace assignments or the default KB; explicit selections, including none, persist until changed. The agent retrieves from these bases when grounding is needed. -How it retrieves depends on the base's engine, and the difference is worth knowing when an answer surprises you. Most bases — LlamaIndex, GraphRAG, LightRAG, a linked index, a remote LightRAG Server, a Tencent IMA library — are served by the `rag` tool. **PageIndex OSS** and **PageIndex Cloud** are not: their retrieval is agentic, so a reading loop walks the local or hosted document tree instead, and those bases are deliberately absent from `rag`'s list. An **Obsidian** vault has no index at all and is routed to the Obsidian capability, which navigates the live files; a **MarginNote 4** library is the same shape, walked by its own tools. +How it retrieves depends on the base's engine. Most bases — LlamaIndex, GraphRAG, LightRAG, a linked index, a remote LightRAG Server, a Tencent IMA library — are served by the `rag` tool. **PageIndex OSS** and **PageIndex Cloud** are not: their retrieval is agentic, so a reading loop walks the local or hosted document tree instead, and those bases are deliberately absent from `rag`'s list. An **Obsidian** vault has no index at all and is routed to the Obsidian capability, which navigates the live files; a **MarginNote 4** library is the same shape, walked by its own tools. ### Persona — set the voice and stance @@ -74,7 +76,7 @@ The **person icon** chooses a persona. `Default` is the plain assistant; built-i ### Model — switch per turn -The **model chip** picks which model runs this turn. Every model you configured in Settings appears here with its provider and context window, and the default is marked. Switch to a long-context model for big documents, or a cheaper/faster one for quick exchanges — mid-session, without losing your place. +The **model chip** picks which model runs this turn. Every model you configured in Settings appears here with its provider and context window, and the default is marked. A provider is the service that hosts the model. Switch to a long-context model for a large document, or a cheaper, faster model for a short exchange. You can switch during the session and keep your place. ## The Activity panel @@ -83,7 +85,7 @@ The panel toggle (top-right) opens **Activity** — a live record of the tools, ![Conversation and its activity controls](/screenshots/dev/chat.png) -As a turn runs, each tool call collapses into a compact header (for example, `Done · 21s`) that you can expand to inspect inputs and outputs — so the thread stays readable while the full trace stays auditable. +As a turn runs, each tool call collapses into a compact header (for example, `Done · 21s`). Expand a header to inspect inputs and outputs. The thread stays short, and the full trace stays available. ## The content workspace @@ -105,7 +107,7 @@ On Docker and server deployments the deployment folder constrains managed worksp ## On a phone -Below tablet width the workspace collapses to a single column with a slide-over sidebar, so the same thread is usable on a phone rather than rendering a three-pane desktop layout off the edge of the viewport. +Below tablet width the workspace collapses to a single column with a slide-over sidebar. The same thread fits a phone. ## Practical examples diff --git a/docs/src/content/docs/learning-workspace/index.md b/docs/src/content/docs/learning-workspace/index.md index 51c10eb83..a606e0f5c 100644 --- a/docs/src/content/docs/learning-workspace/index.md +++ b/docs/src/content/docs/learning-workspace/index.md @@ -1,10 +1,10 @@ --- title: A connected learning workflow -description: Follow one project through workspace-scoped Home, Learning, and Resources, with account-level Partners and Personalization. +description: Take one project from its workspace through Home, Learning, and Resources. Partners and Personalization stay with your account. quadrant: tutorial --- -The sidebar is a map of **where your work belongs**. Choose a workspace first, then move between its conversations, learning activities, and reusable sources. Your account supplies the companions and preferences you can bring into that work. +Move one project across its workspace, Chat, Learning, and Resources. The next session starts from the work you saved. Partners and Personalization stay on your account. ## Two scopes, five shelves @@ -16,35 +16,37 @@ The sidebar is a map of **where your work belongs**. Choose a workspace first, t | [Partners](/channels/) | Account | Persistent companions, their instructions, resource access, and channels | | [Personalization](/customize/) | Account | Personas, skills, connected agents, MCP, CLI apps, and memory controls | -**Calendar is an exception within Home:** it offers an account-wide view across workspaces. [Calendar](/learning-workspace/calendar/) explains how to read the source workspace of an event. A Partner also has an explicit working context: its account-level identity does not mean every conversation can read every workspace. +A skill is a reusable method you can attach to a turn. MCP is a connection that lets DeepTutor call a tool outside the app. + +**Calendar is an exception within Home:** it shows an account-wide view across workspaces. [Calendar](/learning-workspace/calendar/) explains how to read which workspace an event came from. A Partner also has its own working context. Living on your account does not mean every conversation can read every workspace. ## 1. Give a project its own workspace -Create or select a workspace for “Signals and sampling.” Keep its lecture notes and exercises separate from another project such as “Academic writing.” Before adding material or starting a learning activity, check the active workspace. Switching changes the first three shelves’ contents, while your Partner and Personalization libraries remain available. See [scope and switching](/learning-workspace/workspaces/). +Create or select a workspace for “Signals and sampling.” Keep its lecture notes and exercises separate from another project such as “Academic writing.” Before you add material or start a study activity, check the name of the active workspace. After you switch, Chat, Books, and Resources show that project. Your Partner list and Personalization library stay available. See [scope and switching](/learning-workspace/workspaces/). ## 2. Bring in sources, then ask a focused question -Add reusable material to [Knowledge Center](/learning-workspace/knowledge/), or open a specific document in [Reading](/learning-workspace/reading/) when you want to work beside the source. In Home, attach the relevant context and ask something concrete: “Explain why low sampling rates can make two different signals look identical; cite this primer.” +Add material you want to reuse to [Knowledge Center](/learning-workspace/knowledge/). When you want the page open beside the chat, open that document in [Reading](/learning-workspace/reading/). Back on Home, attach the source you mean, then ask something concrete: “Explain why low sampling rates can make two different signals look identical; cite this primer.” -A stored asset is not automatically included in every model request. Attach sources or select the supported learning context explicitly. Check cited passages before building on an answer. +A file you saved earlier is not included in the next question on its own. Attach it, or select the learning context the activity offers. Before you build on the answer, read the passages it cites. ## 3. Separate evidence from your own understanding -Save useful original passages to [Favorites](/learning-workspace/favorites/). Then write your interpretation in a [Learning notebook](/learning-workspace/notebook/), inserting references where useful. The notebook is where you develop an explanation; Favorites preserves the material you may want to reuse. Reopen the source when a claim needs checking, and use Dito beside a paragraph when you need help improving it. +Save passages you may want again in [Favorites](/learning-workspace/favorites/). Write what you think they mean in a [Learning notebook](/learning-workspace/notebook/), and insert a reference where it helps. The notebook is your explanation. Favorites keeps the original material. When a claim looks wrong, reopen the source. When a paragraph needs work, ask Dito next to that paragraph. ## 4. Choose the learning activity that fits -- Use [Books](/learning-workspace/books/) for a structured sequence of pages and interactive blocks. -- Use [Mastery Path](/learning-workspace/mastery/) for a goal broken into topics and guided study. -- Use [Reading](/learning-workspace/reading/) for questions tied to a document or media timestamp. -- Use [Practice](/learning-workspace/questions/) to answer, inspect feedback, and revisit weak areas. +- Use [Books](/learning-workspace/books/) for a sequence of pages and interactive blocks. +- Use [Mastery Path](/learning-workspace/mastery/) when the goal splits into topics you study in order. +- Use [Reading](/learning-workspace/reading/) when the question is about a document or a moment in the media. +- Use [Practice](/learning-workspace/questions/) to answer, read the feedback, and come back to the parts you missed. -These are different ways to work with a topic, not steps you must complete in order. Start with one and use the supported capture or attachment controls to connect it to the next. +These are different ways to work on one topic. You do not have to finish them in this order. Start with one. Use the capture or attachment control on that screen to carry the result into the next activity. ## 5. Reuse assistance without mixing projects -Choose a persona that asks you to explain your reasoning. Add a relevant skill when you need a repeatable method. Connect an external agent for consultation, or configure a Partner with a particular role and resource scope. Those account assets remain available in another workspace, while each workspace keeps its own learning records and materials. +Pick a persona that asks you to explain your reasoning. Add a skill when you want the same method again. Connect an external agent when you want a second opinion, or set up a Partner with a role and a limit on which resources it can see. Those account items are still there in the next workspace. Each workspace keeps its own materials and study records. ## Return to the work -Use Home’s [Task Board](/learning-workspace/task-board/) for next actions, [Resources](/learning-workspace/resources/) for saved evidence and history, and the Learning list to reopen an activity. You do not need to repeat setup or recreate a Partner whenever you switch subjects. +On Home, use the [Task Board](/learning-workspace/task-board/) for what to do next. Open [Resources](/learning-workspace/resources/) for saved evidence and past chats. Reopen an activity from the Learning list. Switching subjects does not mean setting the app up again, or creating the Partner a second time. diff --git a/docs/src/content/docs/learning-workspace/mastery.md b/docs/src/content/docs/learning-workspace/mastery.md index 95ea11d3b..d4fa49075 100644 --- a/docs/src/content/docs/learning-workspace/mastery.md +++ b/docs/src/content/docs/learning-workspace/mastery.md @@ -1,45 +1,48 @@ --- title: Mastery Path -description: Turn a learning goal and your own materials into a mastery map with recorded evidence, then study each waypoint with a dedicated tutor. +description: Follow one topic until the path records that you have shown the skill. quadrant: how-to --- -Mastery Path turns a broad goal into a route you can actually finish. The route is divided into modules and typed knowledge points, and progress records assessed mastery or an explicit learner declaration, rather than time spent reading. +Record one waypoint in [Follow a path](/learn/follow-a-path/). + +A Mastery Path turns one goal into a route and records whether you have shown the skill. Start with one topic. Modes, evidence types, and the review schedule are further down this page. + +## Follow one topic until it is recorded + +1. Open **Learning → Mastery Path** and create a **New mastery goal**. +2. Write the ability you want to show. For example: “Choose and apply substitution or integration by parts on first-year exam problems, and explain why the method works.” The title comes from that goal, and you can rename it later. +3. Add the materials that should ground the work: a book, a saved notebook or Favorites record, or a knowledge-base file. +4. Choose the model for the opening conversation, then choose **Design the outline with the tutor**. The tutor reads the materials, asks what you already know and how much time you have, and drafts the map with you. Change the outline in that conversation before you start studying. The outline is no longer a third step on the creation form. +5. Study one waypoint. Answer the question, then explain the result in your own words. + +You are done with this pass when that waypoint shows a recorded result: an assessment, or your own statement that you have it. Those two are stored separately. The progress ring uses that record. It does not measure how long the page was open. ## Where it is -Open **Learning → Mastery Path** in the left sidebar (or visit `/learning/mastery`). The atlas shows this workspace’s topics, next waypoints and progress. Resources holds reusable materials; Personalization is account level. +Open **Learning → Mastery Path** in the left sidebar, or visit `/learning/mastery`. The map shows this workspace’s topics, the next waypoint, and the overall progress. Resources holds materials you can reuse. Personalization belongs to the account. ![Mastery Path library](/screenshots/dev/mastery.png) -## Build a path +## Study one waypoint -Create a **New mastery goal** in two steps: +The study screen keeps the current topic, waypoint, progress ring, outline, transcript, and composer together. Three **modes** sit above the transcript: *Outline*, *Study*, and *Review*. The active mode decides which tools the tutor can use. Only Outline may change the map, and reordering a module shows a preview before you confirm. Only Study and Review may examine you. The Activity drawer and the side viewer keep tools, citations, and generated material in view. -1. **Goal** — describe the ability you want to build. The title is derived from the goal and can be renamed later. -2. **Materials** — choose Books, saved notebook/Favorites records or Knowledge Base files that should ground the learning. - -Select the model for the opening conversation, then choose **Design the outline with the tutor**. Creation opens an Outline conversation: the tutor reads your materials, asks about prior knowledge and available time, and designs the map with you. Discuss changes before beginning Study. The outline is no longer a third wizard step. - -Each knowledge point is typed as *memory*, *procedure*, *concept*, or *design*. That type changes what evidence counts as mastery and lets the tutor choose an appropriate learning activity. - -## Study one waypoint at a time - -The study surface keeps the current topic, waypoint, progress ring, outline, transcript, and composer together. Three **modes** sit above the transcript — *Outline*, *Study*, *Review* — and the live one gates the tutor's tools: only Outline may revise the map, with reviewed previews for reordering; only Study and Review may examine you. The Activity drawer and side viewer keep tools, references, and material visible. Questions arrive singly or in groups of two to four; the card ends the turn, and replies are graded independently, including partial submissions. Concept and design cards are practice; their mastery gate still requires your own explanation. The assessed **mastery gate** controls progression; a learner may explicitly mark a point mastered, with that source distinguished from assessment. Completed points return later through **spaced review** when they are due. +Questions arrive one at a time, or in groups of two to four. The card ends that turn. Each question is graded on its own, including an answer you submit in parts. A concept card and a design card are practice. Showing mastery on those still takes an explanation in your own words. The assessed **mastery gate** decides when you move on. You can also mark a point mastered yourself. That mark is stored apart from an assessment. A finished point comes back through **spaced review** when it is due. ![Mastery Path topic and study workspace](/screenshots/dev/mastery-detail.png) -After a turn settles, the configured **Task Model** can write a suggested next question against the waypoint and recent transcript. With an empty composer, press **Tab** to accept the suggestion; it is not sent until you choose to send it. +After a turn settles, the configured **Task Model** can write a suggested next question from the waypoint and the recent transcript. With an empty composer, press **Tab** to accept the suggestion. It stays in the box until you send it. ## Conversations stay with the topic -A study session is an ordinary DeepTutor conversation bound to a Mastery Path. The sidebar files it under its topic; reopening restores the map and waypoint. In Chat, DeepTutor can offer a hand-off card to resume or start a session, and navigates only when you click. +A study session is an ordinary conversation bound to a Mastery Path. The sidebar keeps it under the topic. Reopening restores the map and the waypoint. In Chat, DeepTutor can offer a hand-off card to resume or start a session. The card opens that session when you click it. -## A concrete goal and its evidence +## How a result is recorded -Instead of “Learn calculus,” try “Choose and apply substitution or integration by parts on first-year exam problems, and explain why the method works.” Add the relevant chapters or saved source records, then review the outline before studying. Ask the tutor to stay on one waypoint, attempt the exercise, and explain the result in your own words. Reading an answer alone does not demonstrate a concept or design skill. +Each knowledge point is marked *memory*, *procedure*, *concept*, or *design*. The type decides what counts as evidence, and it helps the tutor pick an activity. Reading an answer is not enough to show a concept or a design skill. -Paths and their study conversations belong to the current workspace. Reopen the topic to resume its map and sessions; use the due-review entry to revisit older evidence. An explicit learner declaration is recorded differently from an assessed result. Keep this distinction in mind when interpreting the progress ring. Practice gives additional question-level recall; the Learning notebook preserves your own explanations. +The path and its study conversations belong to the current workspace. Reopen the topic to restore the map and the sessions. Use the due-review entry to look again at older evidence. Read the progress ring with that difference in mind. A statement you made and a result from an assessment are separate records. Practice adds recall for a single question. The Learning notebook keeps the explanation you wrote. ## See also diff --git a/docs/src/content/docs/learning-workspace/questions.md b/docs/src/content/docs/learning-workspace/questions.md index d722887e0..9cba56923 100644 --- a/docs/src/content/docs/learning-workspace/questions.md +++ b/docs/src/content/docs/learning-workspace/questions.md @@ -1,33 +1,44 @@ --- title: Questions and practice -description: Collect questions, import your own, review mistakes, and schedule the next recall attempt. +description: Generate one practice set in Chat, save it to the question bank, and review it. quadrant: how-to --- -Practice turns questions from your learning activities into repeatable recall. Open **Learning → Practice** (`/learning/practice`) for today's reviews; open **Resources → Question Bank** to organize questions, inspect mistakes or choose a manual set. Both use the workspace's question collection. +Generate one set and answer one item in [Practice a topic](/learn/practice-a-topic/). + +Generate one set, save it into this workspace's question bank, and answer it from there. Importing your own questions, the recall schedule, and the mistake list are further down this page. + +## Generate one set and review it + +1. In [Chat](/learning-workspace/chat/), choose **Quiz**. Quiz writes a practice set from the conversation. +2. Ask for one topic, or attach a source first. +3. When the questions look usable, save them into this workspace's question bank. +4. Open **Resources → Question Bank**, select that set, and start practice. +5. Try to recall the answer before you look at it. + +You are done when you have answered one question from that set and seen the reference answer. + +## Where practice lives + +Practice turns questions from your learning activities into reviews you can repeat. Open **Learning → Practice** (`/learning/practice`) for today's reviews. Open **Resources → Question Bank** to organize questions, inspect mistakes, or choose a set by hand. Both use the current workspace's question collection. ![Practice sessions](/screenshots/dev/practice.png) - -## Generate a set - -In [Chat](/learning-workspace/chat/), choose **Quiz**. Ask for a set on one topic, or attach a source first. When the set looks right, collect it into this workspace's question bank and review it with the steps below. - ## Build a question collection -Questions from supported chat, book and mastery activities can be collected in the bank. You can also import your own material rather than generating everything again. +Questions from supported chat, book, and mastery activities can land in the bank. You can also import your own material. 1. Choose **Import questions** in Practice or Question Bank. 2. Choose **Question Bank** or **Mistakes** as the destination. -3. Download an XLSX or CSV template, or prepare XLSX, CSV, TSV or JSON. Each row needs a question and correct answer; tags help organize the result. English and Chinese column names are supported. -4. Select the file and inspect the preview. Files support up to **500 questions and 5 MB**; XLSX reads the active sheet. -5. Fix reported row errors and upload again, then choose **Confirm import**. Previewing alone saves nothing. Identical imports are skipped and their tags combined with the existing item. +3. Download an XLSX or CSV template, or prepare XLSX, CSV, TSV, or JSON. Each row needs a question and a correct answer. Tags help you organize the result. English and Chinese column names both work. +4. Select the file and inspect the preview. A file can hold up to **500 questions and 5 MB**. XLSX reads the active sheet. +5. Fix the rows that report an error, upload again, then choose **Confirm import**. The preview itself saves nothing. A question that is already in the bank is skipped, and its tags are merged onto the existing item. For example, import 30 definitions tagged `probability` and `chapter-2`, then choose a short set from Question Bank before an exam. ## Complete a review -Open Practice and choose **Start today's review** when questions are due. Try to recall the answer before checking it. Where answer checking is available, submit your attempt; inspect the reference answer and explanation, then rate your recall honestly. +Open Practice and choose **Start today's review** when questions are due. Try to recall the answer before you check it. Where answer checking is available, submit your attempt. Read the reference answer and the explanation, then rate your recall as it was. | Rating | Use it when | | --- | --- | @@ -36,14 +47,14 @@ Open Practice and choose **Start today's review** when questions are due. Try to | **Mastered** | You recalled it and can review again in a few days | | **Easy** | You knew it confidently | -**Again** returns the question in the same round. Saved ratings update the next due date. Skipping leaves the question due. Review completion reports how many reviews were saved and the next review date. Today's queue prioritizes overdue questions and works in sets of up to 20; new mistakes return the next day. +**Again** returns the question in the same round. A saved rating updates the next due date. A skipped question stays due. At the end, the page reports how many reviews were saved and the next review date. Today's queue puts overdue questions first and works in sets of up to 20. A new mistake comes back the next day. ## Organize and diagnose -In Question Bank, inspect the question, your recorded answer, the correct answer and explanation. Use categories, source filters and mistakes filtering to focus a set, then start practice from selected questions. Practice analytics helps you see the review pattern; it does not turn a self-rating into an independently assessed skill. +In Question Bank, you can read the question, the answer you recorded, the correct answer, and the explanation. Use categories, source, and the mistakes filter to narrow a set, then start practice from the questions you selected. Practice analytics shows the pattern of your reviews. A rating you record is that review. It is separate from an assessed skill. -If there are no questions due, the page shows that you are caught up. You can still choose questions in the bank for manual practice. If the collection looks wrong, check the current workspace before importing again. +When nothing is due, the page says you are caught up. You can still choose questions in the bank and practice them by hand. If the collection looks wrong, check the current workspace before you import again. ## Combine practice with the tutor -When you repeatedly miss an item, return to its source chat or open the relevant material in [Reading](/learning-workspace/reading/). Ask for an explanation and produce your own example in the [Learning notebook](/learning-workspace/notebook/). Use [Mastery Path](/learning-workspace/mastery/) when you need assessment of a broader ability; Practice's recall schedule and a path's mastery gate serve different purposes. +When you miss the same item again, return to its source chat, or open the material in [Reading](/learning-workspace/reading/). Ask for an explanation, then write your own example in the [Learning notebook](/learning-workspace/notebook/). Use a [Mastery Path](/learning-workspace/mastery/) when you want an assessment of a wider ability. Practice schedules the next time you recall a question. A path records whether you have shown a skill. diff --git a/docs/src/content/docs/learning-workspace/research.md b/docs/src/content/docs/learning-workspace/research.md index 2f9e717ad..53e2c9c37 100644 --- a/docs/src/content/docs/learning-workspace/research.md +++ b/docs/src/content/docs/learning-workspace/research.md @@ -4,6 +4,8 @@ description: Run one Deep Research question and file the cited report in your no quadrant: how-to --- +Produce one cited report in [Research a question](/learn/research-a-question/). + **Research** (`deep_research`) investigates one question and returns a cited report. Use it when a chat answer is too thin and you want the sources kept with the writing. ## Produce one cited report diff --git a/docs/src/content/docs/learning-workspace/vision-solver.md b/docs/src/content/docs/learning-workspace/vision-solver.md index 312ccf0f3..f635cb8ad 100644 --- a/docs/src/content/docs/learning-workspace/vision-solver.md +++ b/docs/src/content/docs/learning-workspace/vision-solver.md @@ -4,7 +4,9 @@ description: Solve one photographed problem in Chat, then keep the question for quadrant: how-to --- -Vision Solver is the **Solve** capability working from an image. The same turn can plan steps, run a check, and, for a geometric figure, call GeoGebra. +Check one worked solution in [Solve a photo](/learn/solve-a-photo/). + +Vision Solver is the **Solve** capability working from an image. A capability is the workflow for this turn. The same turn can plan steps, run a check, and, for a geometric figure, call GeoGebra. ## Solve one photo diff --git a/docs/src/content/docs/multimodal-studio/index.md b/docs/src/content/docs/multimodal-studio/index.md index 6c6ca9916..f84005803 100644 --- a/docs/src/content/docs/multimodal-studio/index.md +++ b/docs/src/content/docs/multimodal-studio/index.md @@ -4,6 +4,8 @@ description: How Visualize, Math Animator, and Video Lesson divide the work of m quadrant: explanation --- +Make one figure in [Make a figure](/learn/make-a-figure/). Math Animator and Video Lesson stay on this page. + DeepTutor has three generators. They share the chat thread and a model, and they answer different jobs. | Generator | You want | What comes back | diff --git a/docs/src/content/docs/welcome.mdx b/docs/src/content/docs/welcome.mdx index 7757f855c..2e52c315a 100644 --- a/docs/src/content/docs/welcome.mdx +++ b/docs/src/content/docs/welcome.mdx @@ -24,12 +24,12 @@ DeepTutor is an agent-native learning companion. Use it to study with your own m
- - - - - - + + + + + +
diff --git a/docs/src/content/docs/zh-cn/developers/guides/sdk.md b/docs/src/content/docs/zh-cn/developers/guides/sdk.md index c2022b48b..39e0ef5a7 100644 --- a/docs/src/content/docs/zh-cn/developers/guides/sdk.md +++ b/docs/src/content/docs/zh-cn/developers/guides/sdk.md @@ -1,10 +1,10 @@ --- title: Python SDK -description: 在异步 Python 应用中直接嵌入 DeepTutor 的回合、会话、能力与笔记本运行时。 +description: 在异步 Python 程序里发起一次 DeepTutor 回合,并边生成边读到回答。 quadrant: tutorial --- -`DeepTutorApp` 是 DeepTutor 稳定的进程内 Python facade。它暴露 CLI 所用的同一套回合 payload 与运行时 contract,无需另行启动 CLI,也不必通过 HTTP API 发送请求。你的应用本来就在 Python 中运行,并且需要原生访问流式事件、会话、能力元数据或笔记本时,就适合使用它。 +`DeepTutorApp` 是跑在你这个进程里的 Python 入口。一次回合(turn)就是一次请求,加上它结束前返回的事件。SDK 用的请求内容和 CLI 相同。它不会另外启动 CLI,也不会把请求走 HTTP 发出去。程序本身是 Python,又想在同一个进程里拿到事件、会话或笔记本时,用它。 ## 前置条件 @@ -16,7 +16,7 @@ python -m pip install -e . --no-deps deeptutor init --home /path/to/workspace ``` -用 `DEEPTUTOR_HOME=/path/to/workspace` 运行程序;若不设置该变量,DeepTutor 会使用当前工作目录。SDK 与 `deeptutor chat`、`deeptutor run` 读取同一套 `data/user/settings/` 提供商与运行时配置,因此开始回合前要先配好可用模型。 +用 `DEEPTUTOR_HOME=/path/to/workspace` 运行程序。不设置这个变量时,DeepTutor 使用当前工作目录。SDK 和 `deeptutor chat`、`deeptutor run` 读的是同一套 `data/user/settings/` 里的提供方和运行时文件。开始回合前先配好一个能用的模型,否则这次调用没有模型可以回答。 ## 运行一个回合 @@ -47,7 +47,9 @@ async def main() -> None: asyncio.run(main()) ``` -`TurnRequest` 还可接收 session ID、启用的工具、知识库、语言、能力配置、笔记本/历史引用、伙伴组引用、附件与技能。 +跑完后,终端会打印那段说明,以及一个会话 id。用这个 id 可以再打开同一段对话。 + +`TurnRequest` 还可以带上 session ID、启用的工具、知识库、语言、能力配置、笔记本或历史引用、伙伴组引用、附件和技能。这里的能力(capability)是这次回合要用的流程,例如 `chat`。 ## 可用操作 @@ -56,15 +58,15 @@ asyncio.run(main()) | 回合生命周期 | `start_turn()`、`stream_turn()`、`cancel_turn()`、`submit_user_reply()`、`regenerate_last_turn()` | | 会话 | `list_sessions()`、`get_session()`、`rename_session()`、`delete_session()`、`get_active_turn()` | | 能力 | `resolve_capability()`、`get_capability_contract()`、`get_capability_contracts()`、`get_capability_availability()` | -| 笔记本 | `list_notebooks()`、`create_notebook()`、`get_notebook()`,以及记录的新增/更新/删除/引用方法 | +| 笔记本 | `list_notebooks()`、`create_notebook()`、`get_notebook()`,以及记录的新增、更新、删除和引用方法 | -回合与会话方法是异步的;能力发现与笔记本方法是同步的。 +回合和会话的方法是异步的,调用时要 await。查能力和操作笔记本的方法会马上返回。 ## SDK、CLI 还是 API? -`deeptutor run --format json` 会创建同样的 `DeepTutorApp` 与 `TurnRequest`,再把每个 `stream_turn()` 项序列化成一行 NDJSON。它的无头模式会为空等候中的 `ask_user` 自动提交空回复;SDK 调用方则自行决定何时调用 `submit_user_reply()`。 +`deeptutor run --format json` 会创建同样的 `DeepTutorApp` 和 `TurnRequest`,再把每个 `stream_turn()` 项写成一行 NDJSON。回合停在 `ask_user` 时,这条无界面命令会替你交一份空回复。在 SDK 里,由你决定什么时候调用 `submit_user_reply()`。 -Shell pipeline 与 agent 交接选 **CLI**,进程内异步集成选 **Python SDK**;如果 DeepTutor 需要作为独立服务运行,或客户端不是 Python,则选 **HTTP / WebSocket API**。 +要在 shell 里串命令,或把事件流交给另一个 agent,用 **CLI**。调用留在你的 Python 进程里,用 **Python SDK**。DeepTutor 要单独跑成一个服务,或者调用方不是 Python,用 **HTTP / WebSocket API**。 ## 另见 diff --git a/docs/src/content/docs/zh-cn/get-started/desktop.md b/docs/src/content/docs/zh-cn/get-started/desktop.md index 38d81875a..9e7a7beba 100644 --- a/docs/src/content/docs/zh-cn/get-started/desktop.md +++ b/docs/src/content/docs/zh-cn/get-started/desktop.md @@ -4,7 +4,7 @@ description: 安装 Open DeepTutor,接上一个语言模型,发出第一条 quadrant: tutorial --- -Open DeepTutor 是桌面应用。第一次启动会安装自带的 Python 和 Node 运行时,在本机拉起服务,并打开 DeepTutor 工作区。你不需要单独安装 Python、Node 或源码。 +Open DeepTutor 是桌面应用。第一次打开时,它会解开自带的 Python 和 Node 运行时,在这台电脑上启动服务,然后显示工作区。你不用自己再装 Python、Node 或源码。 ## 1. 下载这台电脑对应的应用 @@ -14,20 +14,22 @@ Open DeepTutor 是桌面应用。第一次启动会安装自带的 Python 和 No | Intel 芯片的 Mac | [macOS(Intel)版 Open DeepTutor](https://github.com/HKUDS/DeepTutor/releases/latest/download/Open-DeepTutor-MacOS-Intel.dmg) | | Windows | [Windows 版 Open DeepTutor](https://github.com/HKUDS/DeepTutor/releases/latest/download/Open-DeepTutor-Windows-Setup.exe) | -打开刚下载的文件。在 macOS 上把应用拖进“应用程序”。在 Windows 上完成安装向导。Windows 安装包未签名,SmartScreen 会要求确认;选择继续运行。 +打开刚下载的文件。在 Mac 上,把应用拖进“应用程序”。在 Windows 上,把安装向导走完。安装包没有签名,SmartScreen 会让你确认;选择继续运行。完成后,应用程序列表里能看到 **Open DeepTutor**。 -Windows 便携 ZIP 在[同一个 Release](https://github.com/HKUDS/DeepTutor/releases/latest) 上。这条路径使用上面的安装包。 +Windows 便携 ZIP 在[同一个 Release](https://github.com/HKUDS/DeepTutor/releases/latest) 上。这篇教程用的是上面的安装包。 ## 2. 等到工作区打开 -启动 **Open DeepTutor**。第一次启动会解压自带运行时,然后显示 DeepTutor 窗口。等到工作区出现。如果几分钟后仍停在启动画面,退出再打开一次。 +启动 **Open DeepTutor**。第一次启动会先解开自带运行时,再打开 DeepTutor 窗口。侧栏里能看到主页时,就可以继续。如果过了几分钟还停在启动画面,退出再打开一次。 ## 3. 接上一个语言模型 +语言模型负责写回复。提供方是托管这个模型的厂商,或者你本机已经在跑的服务。这一步是让 DeepTutor 有一个能调用的模型。 + 1. 打开 **设置 → 模型与服务**。 -2. 添加一个语言模型 profile。使用你已有的密钥,或一个已经在运行的本地服务。 -3. 选择 **Test**。测试通过表示这个 profile 能完成一次最小调用。 -4. 选择 **Apply**。 +2. 添加一个语言模型 profile。用你已经有的密钥,或者一个已经在运行的本地服务。profile 就是这份连接:哪个提供方、哪个模型、密钥或地址。 +3. 选择 **Test**。测试通过,说明这个 profile 能完成一次最小调用。 +4. 选择 **Apply**。这个 profile 已保存,下一条消息可以用它。 嵌入、搜索和语音可以以后再加。[提供方与模型](/zh-cn/get-started/providers/) 列出这些服务和提供方目录。 @@ -35,11 +37,11 @@ Windows 便携 ZIP 在[同一个 Release](https://github.com/HKUDS/DeepTutor/rel 打开 **主页 → 对话**。提一个具体问题,例如:“用一段话解释采样定理,然后给我两道题。” -线程里出现回复,这条路径就完成了。 +对话里出现回复,这篇教程就完成了。 ## 数据放在哪里 -学习数据和设置留在应用自己的工作区目录里。更换应用不会替换这个目录。 +笔记、对话和设置都留在应用自己的工作区目录里。换一个新版本的应用,不会换掉这个目录。 | 系统 | 工作区数据 | | --- | --- | diff --git a/docs/src/content/docs/zh-cn/get-started/docker.md b/docs/src/content/docs/zh-cn/get-started/docker.md index 8e66afa92..7c48b2a6e 100644 --- a/docs/src/content/docs/zh-cn/get-started/docker.md +++ b/docs/src/content/docs/zh-cn/get-started/docker.md @@ -1,7 +1,7 @@ --- title: Docker description: 选项 3 —— 一个容器跑完整 Web 应用,镜像来自 GHCR。 -quadrant: how-to +quadrant: tutorial --- 一个容器跑完整 Web 应用。镜像在 GitHub Container Registry 上: diff --git a/docs/src/content/docs/zh-cn/learn/ask-with-a-source.md b/docs/src/content/docs/zh-cn/learn/ask-with-a-source.md new file mode 100644 index 000000000..42f4c9103 --- /dev/null +++ b/docs/src/content/docs/zh-cn/learn/ask-with-a-source.md @@ -0,0 +1,54 @@ +--- +title: 带着材料学习 +description: 附上一份 PDF 或一条已保存的记录,提出需要引用的问题,并打开那处来源。 +quadrant: tutorial +--- + +你拿来一份已经有的 PDF,或一条已经保存的记录。你附上这份来源,再针对它提问。回复会指回它。你可以对照自己的材料核对答案,而不是相信一段查不到出处的笼统回复。讲义、一段保存下来的文字,或一篇正在读的论文,都适合这一次。做完之后,对话里留下这条回复,你也打开了一处来源。 + + + +## 1. 在项目工作区里新建一段聊天 + +选中这个项目的工作区。打开**主页 → 聊天**,新建一段聊天。 + +输入框是空的,工作区名称是你选中的项目。 + +## 2. 附上一条来源 + +用资料控件(`+`)加入一份 PDF,或一条已经保存的记录。 + +这条来源出现在即将发送的消息上。 + +## 3. 提一个必须给出来源的问题 + +发送:“结合这份讲义说明,为什么采样率过低会让两个不同的信号看起来相同?请给出来源。” + +这条消息已经在对话里,来源还挂在上面。 + +## 4. 阅读回复 + +等到回复出现在对话里。先读回复,再打开来源。 + +回复在对话里,并且至少有一处引用。 + +## 5. 打开一处引用的来源 + +从回复里打开一处引用。 + +来源打开了。把它和引用它的那句话对照。 + +对话里有回复,并且你打开了一处引用的来源,这一次就完成了。 + + + +来源挂在这条消息上,回复才能指向一段你打得开的原文。 + +## 了解更多 + +[对话](/zh-cn/learning-workspace/chat/)写了输入框上的控件、哪些选择会留下来,以及文件落在哪里。 diff --git a/docs/src/content/docs/zh-cn/learn/follow-a-path.md b/docs/src/content/docs/zh-cn/learn/follow-a-path.md new file mode 100644 index 000000000..8f7c59e2d --- /dev/null +++ b/docs/src/content/docs/zh-cn/learn/follow-a-path.md @@ -0,0 +1,60 @@ +--- +title: 沿着路径学完 +description: 创建一个掌握目标,学习一个路标,并记下一条结果。 +quadrant: tutorial +--- + +一个目标变成一条路线,其中一个路标记下你能做到。你定下一项能力,再学习这条路线上的一个路标。这个路标留着结果。主题要分几次学,你想记下已经能做到的事,就用这一次。做完之后,这个路标上有了记录。路径上的进度环读的就是这条记录。 + + + +## 1. 打开精通之路 + +打开**学习 → 精通之路**。 + +页面列出这个工作区的主题。 + +## 2. 写下一个目标 + +创建一个**新的掌握目标**。用一句你做得到的话写下这项能力。例如:“我能说出采样定理,并说明两种采样后的信号在什么情况下无法区分。” + +表单里是这句话。标题由它生成。 + +## 3. 加入一条来源 + +给这个目标加入一条已保存的记录,作为来源。 + +这条记录已经加在这个目标里。 + +## 4. 选择模型 + +选择开场对话使用的模型。 + +开场对话会用这个模型。 + +## 5. 和导师一起设计大纲 + +选择**和导师一起设计大纲**。导师会读这条来源,询问你已经知道什么、有多少时间,再和你一起画出地图。 + +大纲出现在这段对话里。开始学习前,在这里改它。 + +## 6. 学习一个路标 + +学习一个路标。先自己作答,再用自己的话解释结果。 + +这个路标上有一条结果,进度环不再是空的。 + +这个路标记下了一条结果,这一次就完成了。结果可以是一次评估,也可以是你自己声明已经掌握。进度环用的是这条记录。 + + + +进度环读的就是这条记录。 + +## 了解更多 + +[精通之路](/zh-cn/learning-workspace/mastery/)写了模式、证据类型和复习日程。 diff --git a/docs/src/content/docs/zh-cn/learn/make-a-figure.md b/docs/src/content/docs/zh-cn/learn/make-a-figure.md new file mode 100644 index 000000000..a32192d7d --- /dev/null +++ b/docs/src/content/docs/zh-cn/learn/make-a-figure.md @@ -0,0 +1,47 @@ +--- +title: 把想法呈现出来 +description: 用 Visualize 要一张图,并在对话里读它。 +quadrant: tutorial +--- + +放在一句话里很难跟上的关系,会变成对话里的一张图。你描述这个关系,并请 Visualize 把它画出来。Visualize 是一条流程,把一段描述变成可以在对话里阅读的图。这一课只用 Visualize。你想让形状、坐标轴或对照关系摆在眼前,同时继续看这段对话,就用这一次。做完之后,对话里留下这一张图。 + + + +## 1. 打开对话 + +打开[对话](/zh-cn/learning-workspace/chat/)。 + +输入框可以发送。 + +## 2. 选择 Visualize + +在能力菜单里选择 **Visualize**。能力是这一轮要走的流程。Visualize 把一段描述变成对话里的一张图。 + +这一轮选中的是 **Visualize**。 + +## 3. 要一张图 + +发送:“画一条能读的正弦波,标出坐标轴。” + +这条请求已经在对话里。 + +## 4. 看这张图 + +等到图出现在对话里。它可能是 SVG、Mermaid、Chart.js 或 HTML。 + +对话里出现了这张图,这一次就完成了。 + + + +图就在对话里,你不用离开这段聊天也能读它。 + +## 了解更多 + +- [可视化](/zh-cn/multimodal-studio/visualize/) — 怎么换一张图,以及会返回哪些类型。 +- [该用哪种生成](/zh-cn/multimodal-studio/) — 下一件作品要动起来或能播放时,从这里选 Math Animator 或 Video Lesson。这一课停在这一张图。 diff --git a/docs/src/content/docs/zh-cn/learn/practice-a-topic.md b/docs/src/content/docs/zh-cn/learn/practice-a-topic.md new file mode 100644 index 000000000..93a9529b0 --- /dev/null +++ b/docs/src/content/docs/zh-cn/learn/practice-a-topic.md @@ -0,0 +1,52 @@ +--- +title: 练一个主题 +description: 生成一套练习,收进题库,并答完其中一题。 +quadrant: tutorial +--- + +学完一个主题之后,你确认自己还能不能回忆起来。你要一套短练习,并把这套题收进题库。你先凭记忆答其中一题,再读参考答案。讲解已经读过,你想看看不看着它还能答出什么,就用这一次。做完之后,你答过一题,这套题也留在这个工作区里。之后还能从题库再打开这套题。 + + + +## 1. 选择测验 + +在[对话](/zh-cn/learning-workspace/chat/)里选择 **测验**。测验会根据这段对话写出一套练习。 + +这一轮选中的是 **测验**。 + +## 2. 生成一套题 + +针对一个主题出题,或先附上材料,再按那份材料出题。 + +一套题目出现在对话里。 + +## 3. 收进题库 + +题目看起来能用时,收进这个工作区的题库。 + +这套题已经在这个工作区的题库里。 + +## 4. 答一题 + +打开**资料 → 题库**,选中这套题,开始练习。先回忆,再看答案。 + +你正在看一题,答案还没有展开。 + +## 5. 看参考答案 + +读参考答案。评级控件在同一张卡片上。 + +你答完其中一题,并看到了参考答案,这一次就完成了。 + + + +这套题现在在这个工作区的题库里,之后还可以从这里再做。 + +## 了解更多 + +[出题与练习](/zh-cn/learning-workspace/questions/)写了导入上限、复习日程和评级的名称。 diff --git a/docs/src/content/docs/zh-cn/learn/research-a-question.md b/docs/src/content/docs/zh-cn/learn/research-a-question.md new file mode 100644 index 000000000..55463786f --- /dev/null +++ b/docs/src/content/docs/zh-cn/learn/research-a-question.md @@ -0,0 +1,60 @@ +--- +title: 研究一个问题 +description: 问一个问题,并在对话里阅读带引用的报告。 +quadrant: tutorial +--- + +一个问题留下一份报告,里面的来源以后还能打开。你在对话里提出这个问题,得到的是一份带引用的报告。报告留在对话里,所以你可以回到某个说法背后的来源。你希望论文或页面和答案留在一起,就用这一次。做完之后,对话里有这份报告,你也打开了至少一处来源。 + + + +## 1. 在项目工作区打开对话 + +在项目工作区打开[对话](/zh-cn/learning-workspace/chat/)。 + +输入框可以发送,当前工作区是这个项目。 + +## 2. 选择 Research + +在 **More Capabilities** 里选择 **Research**。能力是这一轮要走的流程。Research 会调查一个问题,并返回带引用的报告。 + +这一轮选中的是 **Research**。 + +## 3. 决定来源从哪里来 + +来源应该来自你的资料时,附上一个知识库。否则这一轮可以使用工作区已经允许的网页和预印本检索。 + +附上了知识库,它的名字会出现在输入框上。没附的话,输入框上没有知识库。 + +## 4. 问一个问题 + +发送:“2023 年之后,检索增强生成有哪些变化?引用你用到的论文,最多六篇。” + +这个问题已经在对话里。 + +## 5. 等到报告出现 + +等到报告出现在对话里。 + +对话里是一份带引用的报告。 + +## 6. 打开一处引用 + +采信某个说法之前,打开它引用的材料。 + +来源打开了。 + +对话里有一份带引用的报告,这一次就完成了。 + + + +报告把引用和结论放在一起,采信之前你可以打开来源。 + +## 了解更多 + +[深度研究](/zh-cn/learning-workspace/research/)写了怎么把报告放进收藏夹和笔记本。 diff --git a/docs/src/content/docs/zh-cn/learn/solve-a-photo.md b/docs/src/content/docs/zh-cn/learn/solve-a-photo.md new file mode 100644 index 000000000..34f70a289 --- /dev/null +++ b/docs/src/content/docs/zh-cn/learn/solve-a-photo.md @@ -0,0 +1,54 @@ +--- +title: 从照片解题 +description: 附上一张裁好的题目照片,并在对话里核对解题步骤。 +quadrant: tutorial +--- + +你把纸上的一道题变成可以对照照片核对的步骤。你附上这道题的一张裁好的照片。回复把步骤和最终答案放进对话。题目在一页纸、一张练习纸或一张照片上,你想逐行跟着看,就用这一次。做完之后,这些步骤还在屏幕上,就在照片旁边。你能看出哪一步和照片一致,哪一步对不上。 + + + +## 1. 在这个学科的工作区打开对话 + +在这个学科的工作区打开[对话](/zh-cn/learning-workspace/chat/)。 + +输入框可以发送,当前工作区是这个学科。 + +## 2. 选择 Solve + +在能力菜单里打开 **More Capabilities**,选择 **Solve**。能力是这一轮要走的流程。 + +输入框上选中的是 **Solve**。 + +## 3. 附上一张裁好的照片 + +用 **+** 附上题目照片。裁到你要解的那一题。 + +照片挂在这条消息上。 + +## 4. 要求写出步骤和最终答案 + +发送:“解这道题。先写出每一步,再给最终答案。图看不清就停下来问我。” + +等到回复结束。对话里有编号的步骤和最终答案。 + +## 5. 对照照片核对步骤 + +把每一步和照片对一下。 + +步骤和照片都在屏幕上。 + +对话里有你可以对照照片核对的步骤,这一次就完成了。 + + + +步骤留在对话里,你可以拿它和照片对照。 + +## 了解更多 + +[视觉解题](/zh-cn/learning-workspace/vision-solver/)写了几何图形,以及怎么把这道题留到练习里。 diff --git a/docs/src/content/docs/zh-cn/learning-workspace/chat.md b/docs/src/content/docs/zh-cn/learning-workspace/chat.md index 345161f65..024484a35 100644 --- a/docs/src/content/docs/zh-cn/learning-workspace/chat.md +++ b/docs/src/content/docs/zh-cn/learning-workspace/chat.md @@ -1,14 +1,28 @@ --- title: 对话 -description: 发出一轮有用的对话:选工作区、附上材料、看活动面板里的结果。 +description: 发出一条带上来源的消息,然后在活动面板里阅读回复。 quadrant: how-to --- -主页是一轮对话发生的地方。这一页只讲怎么发出一轮有用的对话。一轮如何规划、调用工具并停下来,见[智能体循环是怎么工作的](/zh-cn/learning-workspace/agent-loop/)。 +附上一条来源并打开一处引用,按[带着材料学习](/zh-cn/learn/ask-with-a-source/)走一遍。 + +先发一条自己带上来源的消息,再读回复。窗口怎么分、哪些选择会留下来、对话背后的文件夹,都在这一页后面。一轮对话怎么规划、调用工具、再停下来,见[智能体循环是怎么工作的](/zh-cn/learning-workspace/agent-loop/)。 + +## 发出一条带上来源的消息 + +1. 选中这个项目的工作区,新建一段聊天。 +2. 用资料控件加入一份 PDF,或一条已经保存的记录。问题需要在整个资料库里查找时,再挂上知识库。 +3. 写明你要的结果,以及先不要做什么。例如:“基于这份讲义解释采样定理,再给我两道题。先让我尝试,不要直接展示答案。” +4. 在活动面板里看工具的进度。要核对依据时,打开它引用的来源或生成的文件。 +5. 把有用的结果存进[收藏夹](/zh-cn/learning-workspace/favorites/),或在[学习笔记本](/zh-cn/learning-workspace/notebook/)里写下你自己的理解。以后从资料 → 聊天历史重新打开这段对话。 + +回复出现在对话里,并且你核对过它用到的一处来源,这一次就完成了。 + +你选中的连接智能体会留在这段对话上。导入的旧记录只是这一条消息的材料。附上的文件默认只给这一轮用。工作区指令和对话上的选择会影响后面的轮次。如果回复用错了来源或人设,再次发送前先看输入框上的标签。 ## 它在哪里 -先选择[工作区](/zh-cn/learning-workspace/workspaces/),再打开**主页 → 聊天**(`/chat`)。主页还包含[任务看板](/zh-cn/learning-workspace/task-board/)、[学习笔记本](/zh-cn/learning-workspace/notebook/)和[日历](/zh-cn/learning-workspace/calendar/)。聊天、任务与笔记页面随工作区变化;日历事件属于账号级,并叠加工作区学习信息。 +先选择[工作区](/zh-cn/learning-workspace/workspaces/),再打开**主页 → 聊天**(`/chat`)。主页里还有[任务看板](/zh-cn/learning-workspace/task-board/)、[学习笔记本](/zh-cn/learning-workspace/notebook/)和[日历](/zh-cn/learning-workspace/calendar/)。聊天、任务和笔记本跟着工作区走。日历上的事件属于账户,也可以带上某个工作区的学习信息。 ![主页与对话输入框](/screenshots/dev/overview.png) @@ -16,80 +30,65 @@ quadrant: how-to | 区域 | 作用 | | --- | --- | -| **左侧栏** | 顶部为工作区菜单,下方是**主页、学习、资料**。**伙伴**与**个性化**属于账号级。对话会恢复所属学习上下文;工作区菜单可进入设置与工作区管理。经典布局的导航排列有所不同。 | -| **输入框** | 消息框。**左下角**决定这一轮是哪种「能力」,并用 `+` 加入引用;**右下角**提供连接智能体、知识库、人设与模型选择器。麦克风只转写当前消息。 | -| **活动面板**(右上角切换) | 当前会话用到的工具调用、引用、生成的文件、附件与预览,并能快速打开一个 URL 或本地文件。 | +| **左侧栏** | 顶部是工作区菜单,下面是**主页、学习、资料**。**伙伴**和**个性化**属于账户。对话重新打开时,会带回当时的学习上下文。设置和工作区管理在工作区菜单里。经典布局的导航排列不一样。 | +| **输入框** | 消息框。**左下角**选择这一轮的能力(capability,也就是这次要走的流程),并用 `+` 加入引用。**右下角**是连接智能体、知识库、人设和模型。麦克风只把当前这条消息转成文字。 | +| **活动面板**(右上角切换) | 当前这段对话用过的工具调用、引用、生成的文件、附件和预览,也可以快速打开一个 URL 或本地文件。 | -启用身份认证后,已登录用户还会在侧栏看到 **My profile**。这里显示不可编辑的用户名、角色与加入日期;你可以上传头像,或选择图标和颜色,也可以退出登录。 +打开身份认证后,已登录的人还会在侧栏看到 **My profile**。这里显示用户名(这里不能改)、角色和加入日期。你可以上传头像,或选一个图标和颜色,也可以退出登录。 -对话上方的右上角图标分别用于:**把有用内容存到收藏夹**、**把整段会话导出为 Markdown**、**展开/收起活动面板**。 +对话上方右侧的图标用来:**把有用内容存到收藏夹**、**把整段会话导出为 Markdown**、**展开或收起活动面板**。 -## 完成第一段有用的对话 +## 输入框还空着的时候 -1. 选中项目工作区,新建聊天。 -2. 用资料控件加入 PDF 或某条保存记录;需要跨资料库检索时挂载知识库。 -3. 说明结果与限制,例如:“基于这份讲义解释采样定理,再给我两道题。先让我尝试,不要直接展示答案。” -4. 在活动面板查看工具进度,打开引用来源或生成文件核对依据。 -5. 将有用结果存到[收藏夹](/zh-cn/learning-workspace/favorites/),或到[学习笔记本](/zh-cn/learning-workspace/notebook/)写自己的理解。之后可从资料 → 聊天历史重开会话。 +空白输入框下面有解释、解题、练习、规划和研究这几条可改的提示。另外一条建议来自你的记忆和最近的活动。**换一批**会换掉这条建议。点一条,内容先进入输入框。你看过再发送。常用的标题和请求在**自定义页面 → 起始提示**里改。 -选择连接的智能体默认会作为会话偏好保留;导入旧智能体记录则是在引用材料。同样,附件默认提供当前轮次资料,工作区指令与会话偏好影响后续轮次。回答似乎引用了错误来源或人设时,发送前检查可见的选择标签。 +**Settings → Conversation** 决定这些建议能看到多少历史。活动条数调高,建议会参考更多最近做过的事。调低,建议就贴近刚才那几件事。 -## 起始建议 +## 会留下来的选择,和只用于这一条的材料 -空白输入框下方提供解释、解题、练习、规划和研究等起始提示。独立的一条个性化建议取自记忆与近期活动;**换一批**会替换它。选择提示或建议后,内容先进入输入框,供你检查再发送。通过**自定义页面 → 起始提示**可修改常用标题与请求。 +输入框把上下文分成两类,放在两处。 -**Settings → Conversation** 决定喂给它们多少历史:把活动条数调高,建议的取材面更广;调低,则更贴近你刚才在做的事。 - - -## 黏性上下文 vs. 一次性引用 - -DeepTutor 把上下文分成两类,输入框也把它们放在两个不同的位置——这是这一页最关键的一个概念。 - -**黏性会话上下文**会跨轮持续生效,直到你手动更改:能力、工作区或课程绑定、工具、**知识库**、**人设**、**模型**以及 Reading / Mastery 状态。右侧提供相关选择器;通过 Agent 胶囊或 `@` 选中的智能体默认会留在本会话里,而麦克风只填入当前草稿。 - -**引用**位于左侧的 **`+` 按钮**后面,默认只用于*当前这一轮*;可通过复用控件让支持的引用在后续每一轮继续使用。 +**会留下来的选择**一直生效,直到你改掉:能力、工作区或课程绑定、工具、**知识库**、**人设**、**模型**,以及阅读 / 精通之路的状态。选择器在右侧。用 Agent 胶囊或 `@` 选中的智能体会留在这段对话里。麦克风只填写当前草稿。 +**引用**在左侧的 **`+` 按钮**后面,默认只用于这一轮。某种引用后面每一轮都要用时,打开复用控件。 | `+` 引用 | 拉进什么 | | --- | --- | | **Attach files** | 一份 PDF、图片、Office 文档、Markdown 或数据文件,交给智能体阅读。 | | **Chat History** | 把过去的某段会话作为背景资料。 | -| **My Agents** | 一份导入的 Claude Code / Codex / ChatGPT 对话记录供探查——见[我的智能体](/zh-cn/customize/agents/)。 | -| **Books / Reading / Notebooks / Question Bank** | 一本已编译的书、一个阅读片段、一个已保存的笔记本,或[资料](/zh-cn/learning-workspace/resources/)里的练习题。题目可按材料或分类筛选,**Select all** 会保留先前选择。 | -| **Memory** | 某一份具体的记忆文档——当你希望智能体依据一条你指得出来的事实工作,而不是依据召回碰巧捞上来的东西。 | +| **My Agents** | 一份导入的 Claude Code / Codex / ChatGPT 对话记录,用来查看。见[我的智能体](/zh-cn/customize/agents/)。 | +| **Books / Reading / Notebooks / Question Bank** | 一本已编译的书、一段阅读、一个已保存的笔记本,或[资料](/zh-cn/learning-workspace/resources/)里的练习题。题目可以按材料或分类筛选。**Select all** 会保留先前的选择。 | +| **Memory** | 某一份具体的记忆文档。你要它依据一份你点名的记忆,而不是它自己召回的内容。 | -在主 Chat 输入框里键入 **`@`**,会筛选与 Agent 胶囊相同的连接智能体列表,并默认把选中项保留在本会话中。没有实时智能体选择器的跟进界面,则继续用 `@` 打开 Space 引用菜单。 +在主对话输入框里键入 **`@`**,会筛出和 Agent 胶囊相同的连接智能体列表,并把选中项留在这段对话里。没有这个智能体选择器的后续界面,用 `@` 打开 Space 引用菜单。 -### 知识库——把答案锚定到你的资料 +### 知识库 -**数据库图标**打开知识库选择器。未手动选择的对话继承工作区已就绪的指定知识库或默认库;显式选择(包括不选)会持续保留,直到修改。问题需要依据时,智能体从这些库检索。 +**数据库图标**打开知识库选择器。你还没动手选过的对话,会沿用工作区里已经就绪的指定库,或默认库。你做出的选择,包括一个都不选,会一直保留到你修改。回答需要依据时,智能体从这些库里检索。 -具体怎么检索,取决于这个库绑定的引擎——回答让你意外的时候,这个区别很值得知道。大多数库——LlamaIndex、GraphRAG、LightRAG、链接的现成索引、远端 LightRAG Server、腾讯 IMA 库——由 `rag` 工具服务。**PageIndex OSS** 与 **PageIndex Cloud** 不是:它们的检索本身是 agentic 的,阅读循环会遍历本地或托管文档树,因此这些库被有意排除在 `rag` 列表之外。**Obsidian** 库压根没有索引,会被路由给 Obsidian 能力,由它直接浏览实时文件;**MarginNote 4** 库是同一种形态,由它自己的一组工具来走。 +检索方式取决于这个库绑定的引擎。大多数库由 `rag` 工具负责:LlamaIndex、GraphRAG、LightRAG、链接好的现成索引、远端 LightRAG Server、腾讯 IMA 库。**PageIndex OSS** 和 **PageIndex Cloud** 不是:它们会顺着本地或托管的文档树往下读,所以故意不出现在 `rag` 的列表里。**Obsidian** 库没有索引,会交给 Obsidian 能力,由它直接浏览当前文件。**MarginNote 4** 库也是这样,用它自己的一组工具。 +### 人设 -### 人设——设定语气与立场 +**人物图标**用来选人设。人设决定语气和教学立场。`Default` 是朴素的助手。内置的 **peer**(同伴)、**research-assistant**(研究助理)、**teacher**(老师)会改变语气。人设在**个性化 → 人设**里管理,伙伴也可以复用。 -**人物图标**用于选择人设。`Default` 是朴素的助手;内置的 **peer**(同伴)、**research-assistant**(研究助理)、**teacher**(老师)等会改变语气与教学风格。人设在**个性化 → 人设**中管理,并可被伙伴复用。 - - -### 模型——逐轮切换 - -**模型胶囊**决定这一轮用哪个模型。你在设置里配好的每个模型都会列在这里,并标注提供商与上下文窗口,默认模型有标记。处理大文档时切到长上下文模型,闲聊时切到更便宜更快的模型——会话中途即可切换,不丢上下文。 +### 模型 +**模型胶囊**决定这一轮用哪个模型。你在设置里配好的每个模型都会列在这里,并标上提供方和上下文窗口,默认模型有标记。提供方是托管这个模型的厂商,或你本机的服务。大文档换成长上下文的模型,短对话换成更省、更快的模型。对话中途可以换,已经写过的内容还在。 ## 活动面板 -右上角的面板切换按钮会打开 **Activity**(活动)——当前会话用过的工具、引用与文件的实时记录,生成的文件排在你上传的之上,外加一个 **Open** 框,可把 URL 或本地文件拉进应用内的查看器。 +右上角的开关打开 **Activity**。它是这段对话用过的工具、引用和文件的实时记录。生成的文件排在你上传的文件上面。**Open** 框可以把一个 URL 或本地文件拉进应用里的查看器。 ![对话与活动控制](/screenshots/dev/chat.png) -一轮进行时,每次工具调用都会折叠成一个紧凑的标题(例如 `Done · 21s`),展开即可查看输入与输出——对话保持清爽,完整轨迹依然可审计。 +一轮进行时,每次工具调用会收成一个短标题(例如 `Done · 21s`)。展开就能看到输入和输出。对话保持可读,完整记录也还在。 ## 内容工作区 -**内容工作区**是绑定到对话的文件夹。未绑定的会话使用通用工作区,也可为不同项目创建自建工作区。系统工作区保存共享技能和脱敏配置快照;私有运行设置、API key、数据库与记忆仍不属于对话的文件访问范围。 +**内容工作区**是绑在对话上的文件夹。还没绑定的会话使用通用工作区。你可以为不同项目各自建一个工作区。系统工作区保存共享的技能,以及去掉敏感内容的配置快照。技能是一段可以反复套用的做法。私有的运行设置、API key、数据库和记忆不在对话能打开的文件里。 -在 **Settings → Workspace** 管理根目录、工作区和 **Workspace instructions**。指令从下一轮起对支持的能力生效,但不包括 Deep Research、Quiz 和 Manim;能力规则与权限仍然适用。内置及托管的自建目录默认位于 `/data/user/workspaces`。命令行仍可管理原有内容文件夹绑定: +在 **Settings → Workspace** 里管理根目录、工作区和 **Workspace instructions**。指令从下一轮开始,对支持的能力生效。Deep Research、Quiz 和 Manim 不接收这些指令。能力自己的规则和权限仍然有效。内置目录和托管的自建目录默认在 `/data/user/workspaces`。命令行仍可管理原来的内容文件夹绑定: ```bash deeptutor workspace show @@ -97,15 +96,15 @@ deeptutor workspace set /absolute/path/to/my-folder deeptutor workspace reset ``` -读是自由的,写不是。一个回合产生的一切——下载、生成的文件、代码输出、渲染出的素材——都落在按回合隔离的 `outputs////` 目录下。文件夹的其余部分对执行是只读的;要把生成的文件从 `outputs/` 复制到你自己的材料里,必须经过一次点名了具体来源与去向的 **Allow once** 确认。 +这一轮可以读这个文件夹。它产生的东西,包括下载、生成的文件、代码输出和渲染出的素材,都落在按回合分开的 `outputs////` 目录里。文件夹的其余部分对这次执行是只读的。要把生成的文件从 `outputs/` 复制到你自己的材料里,需要一次 **Allow once** 确认,确认框会写明从哪里复制到哪里。 -模型永远看不到绝对路径,只看得到 `outputs/report.docx` 这样的相对路径。它调用 `workspace_present` 时,界面会渲染一份带鉴权、可打开的快照;同一个相对路径也可以直接写进普通的 Markdown 链接或图片。之后再改源文件,不会改变已经呈现出去的快照。 +模型看到的是 `outputs/report.docx` 这样的相对路径,看不到绝对路径。它调用 `workspace_present` 时,界面会给出一份带登录校验、可以打开的快照。同一个相对路径也可以写进普通的 Markdown 链接或图片。之后再改源文件,已经呈现过的快照保持原样。 -在 Docker 与服务器部署下,托管工作区的存储范围由部署文件夹约束——见 [Docker](/zh-cn/get-started/docker/)。 +在 Docker 和服务器部署里,托管工作区的存储范围由部署文件夹限制。见 [Docker](/zh-cn/get-started/docker/)。 ## 在手机上 -窄于平板宽度时,工作区会收成单栏加一个抽屉式侧边栏,于是同一段对话在手机上是能用的,而不是把一个三栏桌面布局渲染到视口之外。 +宽度小于平板时,工作区变成一栏,侧栏可以滑出,同一段对话在手机上能用。 ## 实用示例 @@ -126,10 +125,10 @@ deeptutor chat --capability deep_research --kb papers - [沉浸式阅读](/zh-cn/learning-workspace/reading/)——同一个循环,旁边打开文档或媒体 - [DeepTutor 生态](/zh-cn/customize/)——智能体可调用的 Skill、MCP 服务与 CLI App -- [伙伴](/zh-cn/channels/)——同一个循环,运行在 IM 伙伴里 +- [伙伴](/zh-cn/channels/)——同一个循环,运行在即时通讯里的伙伴中 - [我的智能体](/zh-cn/customize/agents/)——在一轮聊天里咨询 Claude Code、Codex 或某个伙伴 -- [知识中心](/zh-cn/learning-workspace/knowledge/)——构建你在这里挂载的 RAG 库 -- [记忆](/zh-cn/learning-workspace/memory/)——循环读写的个性化记忆 +- [知识中心](/zh-cn/learning-workspace/knowledge/)——构建你在这里挂载的资料库 +- [记忆](/zh-cn/learning-workspace/memory/)——这个循环会读、也会写的个人记忆 - [设置](/zh-cn/self-hosting/settings/)——模型、工具、能力与运行时控制 - [智能体循环是怎么工作的](/zh-cn/learning-workspace/agent-loop/) - [视觉解题](/zh-cn/learning-workspace/vision-solver/) diff --git a/docs/src/content/docs/zh-cn/learning-workspace/index.md b/docs/src/content/docs/zh-cn/learning-workspace/index.md index ff6f9ab57..8bf98926c 100644 --- a/docs/src/content/docs/zh-cn/learning-workspace/index.md +++ b/docs/src/content/docs/zh-cn/learning-workspace/index.md @@ -1,10 +1,10 @@ --- title: 串起一次完整学习 -description: 从工作区出发,让主页、学习、资料与账户级的伙伴、个性化协作。 +description: 拿一个项目,从它的工作区走到主页、学习和资料。伙伴和个性化留在你的账户上。 quadrant: tutorial --- -侧栏说明的是**内容属于哪里**。先选择工作区,再在其中的对话、学习活动与来源材料之间切换;你的账户则提供可带入这些工作的伙伴和个性化能力。 +把一个项目从它的工作区走到对话、学习和资料。下次打开时,从已经保存的内容接着做。伙伴和个性化留在账户上。 ## 两种范围,五个入口 @@ -16,35 +16,37 @@ quadrant: tutorial | [伙伴](/zh-cn/channels/) | 账户 | 持久伙伴的指令、资源访问与渠道 | | [个性化](/zh-cn/customize/) | 账户 | 角色、技能、外部智能体、MCP、CLI 应用与记忆控制 | -**日历是主页中的一个例外**:它提供跨工作区的账户视图,[日历指南](/zh-cn/learning-workspace/calendar/)会说明如何辨认事件的来源工作区。伙伴也有明确的工作上下文:身份属于账户,不代表任意对话都能读取所有工作区。 +技能是一段可以反复套用的做法。MCP 是一条连接,让 DeepTutor 调用应用外面的工具。 + +**日历是主页里的一个例外:** 它按账户显示,能看到各个工作区的安排。[日历指南](/zh-cn/learning-workspace/calendar/)说明怎么辨认一条日程来自哪个工作区。伙伴也有自己的工作范围。它挂在账户上,不代表每一段对话都能读到所有工作区。 ## 1. 给项目一个独立工作区 -为“信号与采样”建立或选择工作区,把讲义和练习与“学术写作”等项目分开。添加材料、开始学习活动前,先检查当前工作区。切换后,前三个入口的内容随之变化,伙伴与个性化库仍然可用。详见[工作区与切换](/zh-cn/learning-workspace/workspaces/)。 +为“信号与采样”新建或选中一个工作区,把讲义和练习与“学术写作”分开。加材料、开始学习之前,先看当前工作区的名字。切换之后,对话、书籍和资料显示的是这个项目。伙伴列表和个性化库仍然在。详见[工作区与切换](/zh-cn/learning-workspace/workspaces/)。 -## 2. 先带入来源,再提出具体问题 +## 2. 先带上来源,再问一个具体问题 -把可复用材料加入[知识库](/zh-cn/learning-workspace/knowledge/);如果想对照原文学习,也可以在[阅读](/zh-cn/learning-workspace/reading/)中打开具体文档。回到主页附加相关上下文,提出明确问题,例如:“结合这份讲义说明,为什么采样率过低会让两个不同的信号看起来相同?请给出来源。” +以后还要用的材料,放进[知识库](/zh-cn/learning-workspace/knowledge/)。想让原文开在旁边,就在[阅读](/zh-cn/learning-workspace/reading/)里打开那份文档。回到主页,附上你指的那份材料,再问清楚,例如:“结合这份讲义说明,为什么采样率过低会让两个不同的信号看起来相同?请给出来源。” -保存过的资产不会自动进入每一次模型请求。应主动附加来源或选择支持的学习上下文,并在继续推导前核对引用段落。 +以前保存的文件不会自己进入下一问。你要附上它,或者选中这个活动提供的学习上下文。顺着答案往下想之前,先读它引用的段落。 -## 3. 将证据与自己的理解分开保存 +## 3. 把证据和你自己的理解分开 -把有用的原文保存到[收藏夹](/zh-cn/learning-workspace/favorites/),再在[学习笔记本](/zh-cn/learning-workspace/notebook/)中写出自己的解释,按需插入引用。笔记本用于发展理解,收藏夹用于保留以后还能复用的来源。对某个结论有疑问时回到原文;需要改进段落时,在旁边调用 Dito 讨论。 +可能还要再用的原文,存进[收藏夹](/zh-cn/learning-workspace/favorites/)。你怎么理解,写在[学习笔记本](/zh-cn/learning-workspace/notebook/)里,需要时插入引用。笔记本是你的解释,收藏夹留着原文。某个结论看着不对,就回到原文。某一段要改,就在那段旁边问 Dito。 -## 4. 选择适合目标的学习方式 +## 4. 选一种适合的学法 -- [书籍](/zh-cn/learning-workspace/books/):按页面和交互块组织系统内容。 -- [精通之路](/zh-cn/learning-workspace/mastery/):将目标拆成主题,并沿路径学习。 -- [阅读](/zh-cn/learning-workspace/reading/):围绕原文或媒体时间点提问。 -- [练习](/zh-cn/learning-workspace/questions/):作答、检查反馈、复习薄弱环节。 +- [书籍](/zh-cn/learning-workspace/books/):一页一页往下走,页面里有可以操作的块。 +- [精通之路](/zh-cn/learning-workspace/mastery/):目标拆成几个主题,按路径学。 +- [阅读](/zh-cn/learning-workspace/reading/):问题对着一份文档,或媒体里的一个时间点。 +- [练习](/zh-cn/learning-workspace/questions/):做题,看反馈,再回到没掌握的地方。 -它们是不同的学习方式,不是必须依次完成的步骤。从一种开始,使用界面支持的保存与附加操作,把产出带入下一次活动。 +这是处理同一个主题的不同方式,不必按这个顺序做完。先选一种。用那个画面上的保存或附加,把结果带到下一次活动。 -## 5. 复用助手,不混合项目 +## 5. 接着用原来的助手,别把项目混在一起 -选择一个要求你解释推理的角色;需要固定方法时,附加相关技能;需要第二种视角时连接外部智能体,或为伙伴设定角色与资源范围。这些账户资产可在另一个工作区继续使用,而每个工作区保留自己的材料与学习记录。 +选一个会让你讲清推理过程的角色。想重复同一种做法时,加上对应的技能。想再听一个看法,就接一个外部智能体,或者给伙伴定好角色,并限制它能看到哪些资源。这些都在账户上,下一个工作区还能用。每个工作区保留自己的材料和学习记录。 ## 下次从哪里继续 -用主页的[任务看板](/zh-cn/learning-workspace/task-board/)记录下一步,到[资料](/zh-cn/learning-workspace/resources/)查找证据与历史,在学习列表中重新打开活动。切换科目时,不必重新安装应用或再创建一遍伙伴。 +在主页用[任务看板](/zh-cn/learning-workspace/task-board/)记下下一步。到[资料](/zh-cn/learning-workspace/resources/)里找存过的证据和以前的对话。从学习列表重新打开一个活动。换科目不用重新配置应用,也不用把伙伴再创建一遍。 diff --git a/docs/src/content/docs/zh-cn/learning-workspace/mastery.md b/docs/src/content/docs/zh-cn/learning-workspace/mastery.md index b28582379..8f0008922 100644 --- a/docs/src/content/docs/zh-cn/learning-workspace/mastery.md +++ b/docs/src/content/docs/zh-cn/learning-workspace/mastery.md @@ -1,48 +1,51 @@ --- title: 精通之路 -description: 把学习目标和自己的材料变成记录掌握证据的地图,再由专属导师陪你逐个攻克路标。 +description: 跟一个主题学,直到路径记下你已经表现出这项能力。 quadrant: how-to --- -精通之路把宽泛目标拆成一条真正能走完的路线。路线由模块和不同类型的知识点组成,进度记录评估通过或明确的学习者掌握声明,而不是读了多久。 +给一个路标记下结果,按[沿着路径学完](/zh-cn/learn/follow-a-path/)走一遍。 + +精通之路把一个目标变成一条走得完的路线,并记下你是否已经表现出这项能力。先跟一个主题。模式、证据类型和复习日程在这一页后面。 + +## 跟一个主题,直到记下结果 + +1. 打开**学习 → 精通之路**,创建一个**新的掌握目标**。 +2. 写下你希望能做到的事。例如:“在大一考试题中选择并使用换元或分部积分,并解释方法为何成立。”标题由这个目标生成,之后可以改名。 +3. 放入学习要依据的材料:一本书、一条已保存的笔记本或收藏记录,或知识库里的文件。 +4. 先选择开场对话使用的模型,再选择**和导师一起设计大纲**。导师会读材料,询问你已经知道什么、有多少时间,再和你一起画出地图。开始学习前,在这段对话里改大纲。大纲不再是创建表单里的第三步。 +5. 学习一个路标。先自己作答,再用自己的话解释结果。 + +这个路标记下了一条结果,这一次就完成了。结果可以是一次评估,也可以是你自己声明已经掌握。这两条分开保存。进度环用的是这条记录,不是页面开了多久。 ## 它在哪里 -从左侧栏的**学习 → 精通之路**进入(或访问 `/learning/mastery`)。主题地图会显示每个主题、下一个路标与总体进度。资料保存工作区的可复用材料,个性化设置属于账号层。 +从左侧栏的**学习 → 精通之路**进入,或访问 `/learning/mastery`。地图显示这个工作区的主题、下一个路标和总体进度。资料里是可以反复使用的材料。个性化属于账户。 ![精通之路列表](/screenshots/dev/mastery.png) -## 创建一条路径 +## 一次学习一个路标 -创建一个**新的掌握目标**,只需两步: +学习界面把当前主题、路标、进度环、大纲、对话记录和输入框放在一起。记录上方有三种**模式**:大纲、学习、复习。当前模式决定导师能用哪些工具。只有大纲能改地图;调整模块顺序时,先看预览再确认。只有学习和复习能考你。Activity 抽屉和侧边查看器留着工具、引用和生成的材料。 -1. **目标**——描述希望建立的能力。标题由目标生成,之后可重命名。 -2. **材料**——选择书籍、已保存的 Notebook/收藏记录或知识库文件作为学习依据。 - -先选择开场对话使用的模型,再选择**和导师一起设计大纲**,进入大纲对话:导师阅读材料、询问已有知识与可用时间,再与你一起设计地图。开始学习前可讨论修改;大纲不再是创建向导的第三步。 - -每个知识点会标为 *memory*、*procedure*、*concept* 或 *design*。类型决定什么证据才算掌握,也帮助导师选择合适的学习活动。 - -## 一次攻克一个路标 - -学习界面把当前主题、路标、进度环、大纲、对话记录与输入框放在一起。记录上方有三种**模式**——大纲、学习、复习——决定导师能用哪些工具:只有大纲能改动地图,模块重排须先预览再确认;只有学习与复习能考你。Activity 抽屉和侧边查看器保留工具、引用与生成材料。题目可单独或两至四题成组,卡片结束该回合;逐题评估,可分次作答。概念与设计卡片只作练习,掌握仍须评估自己的解释。**掌握门槛**依据评估控制推进;学习者也可明确声明已掌握,来源会与评估通过分开记录;已完成的知识点会在到期时通过**间隔复习**再次出现。 +题目可以单独出现,也可以两到四题一组。卡片结束这一回合。每一题单独评估,分成几次提交也可以。概念卡片和设计卡片是练习。要算掌握,仍然需要你自己的解释。**掌握门槛**依据评估决定能否往下走。你也可以自己声明某个知识点已经掌握,这条记录和评估通过分开保存。完成的知识点到期后,会通过**间隔复习**再出现。 ![精通之路主题与学习界面](/screenshots/dev/mastery-detail.png) -一轮对话结束后,配置好的 **Task Model** 可以结合当前路标和近期对话写出下一条建议问题。输入框为空时按 **Tab** 接受建议;只有你主动发送,它才会真正进入对话。 +一轮对话结束后,配置好的 **Task Model** 可以根据当前路标和最近的对话,写出下一条建议问题。输入框为空时,按 **Tab** 接受建议。它先留在输入框里,你发送之后才会进入对话。 -## 对话归档在主题下面 +## 对话留在主题下面 -学习会话是绑定精通之路的普通对话。侧栏按主题归档;重新打开会恢复地图和路标。普通 Chat 也可给出交接卡,继续或新开会话;仅在你点击后跳转。 +学习会话是绑在精通之路上的普通对话。侧栏把它留在这个主题下面。重新打开会恢复地图和路标。在普通对话里,DeepTutor 可以给出一张交接卡,用来继续或新开一段学习。你点击之后才会跳过去。 + +## 结果是怎么记下的 + +每个知识点会标成 *memory*、*procedure*、*concept* 或 *design*。类型决定什么样的证据才算掌握,也帮助导师选择学习活动。只看懂答案,不足以证明概念或设计能力。 + +路径和学习对话属于当前工作区。重新打开主题,可以恢复地图和会话。从到期复习的入口回顾以前的依据。看进度环时记住这个区别。你自己的声明,和一次评估的结果,是两条记录。练习补的是单题的回忆。学习笔记本留着你写下的解释。 ## 另见 -- [资料](/zh-cn/learning-workspace/resources/)——复用材料与个性化预设的资料库 -- [沉浸式阅读](/zh-cn/learning-workspace/reading/)——把正在阅读的资料组转成新的精通之路 +- [资料](/zh-cn/learning-workspace/resources/)——可以反复使用的材料,以及个性化预设 +- [沉浸式阅读](/zh-cn/learning-workspace/reading/)——把正在阅读的一组资料转成一条新的精通之路 - [主页](/zh-cn/learning-workspace/chat/)——学习对话背后共用的智能体循环 - -## 把目标写成可验证的能力 - -与其写“学微积分”,不如写“在大一考试题中选择并使用换元或分部积分,并解释方法为何成立”。加入对应章节或已保存的来源记录,学习前审阅大纲。让导师聚焦一个知识点,自己作答,再用自己的话解释结果;只看懂答案并不足以证明概念或设计能力。 - -路径及学习对话属于当前工作区。重开主题可恢复地图与会话,通过到期复习入口回顾旧依据。自主声明与评估结果会区别记录,阅读进度环时应保留这个区别。练习补充题目层面的回忆训练,学习笔记本保留自己的解释。 diff --git a/docs/src/content/docs/zh-cn/learning-workspace/questions.md b/docs/src/content/docs/zh-cn/learning-workspace/questions.md index d901c680d..4ef31aa4a 100644 --- a/docs/src/content/docs/zh-cn/learning-workspace/questions.md +++ b/docs/src/content/docs/zh-cn/learning-workspace/questions.md @@ -1,49 +1,60 @@ --- title: 出题与练习 -description: 收集与导入题目、复习错题,并安排下一次主动回忆。 +description: 在对话里生成一套练习,收进题库,再复习一次。 quadrant: how-to --- -练习把学习活动中的题目变成可重复的回忆训练。从**学习 → 练习**(`/learning/practice`)进入今日复习;从**资料 → 题库**整理题目、查看错题或手选题组。两者使用当前工作区的题目集合。 +生成一套题并答完其中一题,按[练一个主题](/zh-cn/learn/practice-a-topic/)走一遍。 + +先生成一套题,收进这个工作区的题库,再从题库里做一次。导入自己的题目、复习日程和错题列表在这一页后面。 + +## 生成一套题,再复习一次 + +1. 在[对话](/zh-cn/learning-workspace/chat/)里选择 **测验**。测验会根据这段对话写出一套练习。 +2. 针对一个主题出题,或先附上材料。 +3. 题目看起来能用时,收进这个工作区的题库。 +4. 打开**资料 → 题库**,选中这套题,开始练习。 +5. 先回忆,再看答案。 + +你答完其中一题,并看到了参考答案,这一次就完成了。 + +## 练习在哪里 + +练习把学习活动里的题目变成可以重复做的复习。今天要复习的,从**学习 → 练习**(`/learning/practice`)进入。整理题目、查看错题或手选一套,从**资料 → 题库**进入。两边用的都是当前工作区的题目。 ![练习会话](/screenshots/dev/practice.png) - -## 生成一套题 - -在[对话](/zh-cn/learning-workspace/chat/)里选择 **测验**。针对一个主题出题,或先附上材料。题目看起来可用时,收进这个工作区的题库,再用下面的步骤复习。 - ## 建立题目集合 -受支持的聊天、书籍和精通之路活动产生的题目可以汇入题库。也能导入自己的材料,无需全部重新生成。 +支持的聊天、书籍和精通之路活动产生的题目,可以汇入题库。你也可以导入自己的材料。 1. 在练习或题库中选择**导入题目**。 2. 选择导入**题库**或**错题**。 -3. 下载 XLSX 或 CSV 模板,也可自行准备 XLSX、CSV、TSV 或 JSON。每行必须含题目与正确答案;标签可辅助整理。支持中英文列名。 -4. 上传并检查预览。每个文件最多 **500 题、5 MB**;XLSX 读取当前活动工作表。 -5. 修正报错行后重新上传,再点击**确认导入**。预览本身不会保存;重复导入的相同题目会跳过,标签合并到已有题目。 +3. 下载 XLSX 或 CSV 模板,也可以自己准备 XLSX、CSV、TSV 或 JSON。每一行都要有题目和正确答案。标签用来整理。中英文列名都可以。 +4. 上传并检查预览。每个文件最多 **500 题、5 MB**。XLSX 读取当前活动工作表。 +5. 修正报错的行,重新上传,再点击**确认导入**。预览本身不会保存。已经在题库里的相同题目会跳过,标签合并到原题目上。 -例如,将 30 个定义打上 `概率论` 与 `第二章` 标签导入,考前在题库选一个短题组。 +例如,把 30 个定义打上 `概率论` 和 `第二章` 的标签导入,考前在题库里选一个短题组。 ## 完成一次复习 -有到期题目时,打开练习并选择**开始今日复习**。先回忆,再查看答案。支持答案检查时可提交作答;看完参考答案与解析后,如实评价回忆情况。 +有到期题目时,打开练习,选择**开始今日复习**。先回忆,再看答案。支持答案检查时,可以提交你的作答。看完参考答案和解析,再按实际回忆情况评级。 | 评级 | 适用情况 | | --- | --- | | **重来(Again)** | 需要在本轮再次尝试 | -| **困难(Hard)** | 需要提示或回忆吃力 | +| **困难(Hard)** | 需要提示,或回忆吃力 | | **已掌握(Mastered)** | 能回忆出来,过几天再复习 | | **简单(Easy)** | 确信自己熟悉答案 | -**重来**会在本轮再次出现;保存评级会更新下次到期日。跳过的题目仍处于待复习状态。结束时会显示已保存的复习次数与下一次日期。今日队列优先安排逾期题,每组最多 20 题;新错题会在次日回来。 +**重来**会在本轮再次出现。保存评级会更新下次到期日。跳过的题目仍然待复习。结束时会显示已保存的复习次数和下一次日期。今日队列优先安排逾期题,每组最多 20 题。新的错题会在次日回来。 ## 整理与诊断 -题库中可查看题目、已记录作答、正确答案与解析。使用分类、来源和错题筛选缩小范围,再选题练习。练习分析帮助你观察复习模式,但自主评级不等于独立评估后的能力证明。 +在题库里可以查看题目、你记录的作答、正确答案和解析。用分类、来源和错题筛选缩小范围,再从选中的题目开始练习。练习分析让你看到复习的规律。你记下的评级就是这次复习。它和一次评估后的能力证明是分开的。 -没有到期题时,页面会提示已完成当前复习;仍可从题库手选题目练习。集合内容不对时,先检查当前工作区,再决定是否重新导入。 +没有到期题时,页面会说明当前复习已经完成。你仍然可以从题库里手选题目来练。集合内容不对时,先看当前工作区,再决定要不要重新导入。 -## 与导师衔接 +## 和导师一起看 -同一题反复出错时,返回来源对话,或在[阅读](/zh-cn/learning-workspace/reading/)中打开相应材料。请助手解释,再到[学习笔记本](/zh-cn/learning-workspace/notebook/)写一个自己的例子。需要评估更完整的能力时使用[精通之路](/zh-cn/learning-workspace/mastery/);练习的回忆日程与路径的掌握门槛用途不同。 +同一题反复出错时,回到来源对话,或在[阅读](/zh-cn/learning-workspace/reading/)里打开相应材料。让助手解释这一题,再在[学习笔记本](/zh-cn/learning-workspace/notebook/)里写一个你自己的例子。要评估一项更完整的能力,用[精通之路](/zh-cn/learning-workspace/mastery/)。练习安排的是下一题什么时候再回忆。路径记录的是你是否已经表现出这项能力。 diff --git a/docs/src/content/docs/zh-cn/learning-workspace/research.md b/docs/src/content/docs/zh-cn/learning-workspace/research.md index 2abf8ca2c..e99e9f637 100644 --- a/docs/src/content/docs/zh-cn/learning-workspace/research.md +++ b/docs/src/content/docs/zh-cn/learning-workspace/research.md @@ -4,6 +4,8 @@ description: 对一个问题运行 Deep Research,并把带引用的报告放 quadrant: how-to --- +做出一份带引用的报告,按[研究一个问题](/zh-cn/learn/research-a-question/)走一遍。 + **Research**(`deep_research`)调查一个问题并返回带引用的报告。对话回答太薄、又需要把来源和写作留在一起时用它。 ## 做出一份带引用的报告 diff --git a/docs/src/content/docs/zh-cn/learning-workspace/vision-solver.md b/docs/src/content/docs/zh-cn/learning-workspace/vision-solver.md index 341ae0088..6bcc6f248 100644 --- a/docs/src/content/docs/zh-cn/learning-workspace/vision-solver.md +++ b/docs/src/content/docs/zh-cn/learning-workspace/vision-solver.md @@ -4,7 +4,9 @@ description: 在对话里解出一张题目照片,再把这道题留到练习 quadrant: how-to --- -视觉解题是 **Solve** 能力在读一张图片。同一轮可以规划步骤、做检查;几何图形还可以调用 GeoGebra。 +对照照片核对一份解答,按[从照片解题](/zh-cn/learn/solve-a-photo/)走一遍。 + +视觉解题是 **Solve** 能力在读一张图片。能力是这一轮要走的流程。同一轮可以规划步骤、做检查;几何图形还可以调用 GeoGebra。 ## 解出一张照片 diff --git a/docs/src/content/docs/zh-cn/multimodal-studio/index.md b/docs/src/content/docs/zh-cn/multimodal-studio/index.md index ea70eaef3..a7bd2ac88 100644 --- a/docs/src/content/docs/zh-cn/multimodal-studio/index.md +++ b/docs/src/content/docs/zh-cn/multimodal-studio/index.md @@ -4,6 +4,8 @@ description: Visualize、Math Animator 和 Video Lesson 分别解决什么样的 quadrant: explanation --- +先做一张图,按[把想法呈现出来](/zh-cn/learn/make-a-figure/)走一遍。Math Animator 和 Video Lesson 仍在这一页里选。 + DeepTutor 有三种生成器。它们共用对话线程和模型,回答的是不同的事。 | 生成器 | 你想要 | 得到什么 | diff --git a/docs/src/content/docs/zh-cn/welcome.mdx b/docs/src/content/docs/zh-cn/welcome.mdx index e1a8706af..34f6fc780 100644 --- a/docs/src/content/docs/zh-cn/welcome.mdx +++ b/docs/src/content/docs/zh-cn/welcome.mdx @@ -24,12 +24,12 @@ DeepTutor 是一个 agent-native 学习伴侣。用它带着自己的材料学
- - - - - - + + + + + +
diff --git a/docs/src/styles/starlight.css b/docs/src/styles/starlight.css index 833f3a288..2d88a3a1b 100644 --- a/docs/src/styles/starlight.css +++ b/docs/src/styles/starlight.css @@ -363,6 +363,36 @@ dialog[aria-label="Search"] .dialog-frame { } } +/* Learn-lesson prerequisites. A plain aside, not Starlight's note, so the + default blue background never paints before this stylesheet. Welcome link + cards are transparent over --sl-color-bg, with a gray-5 border, 0.5rem + radius, and --sl-shadow-sm. */ +.dt-prereq { + margin: 1rem 0; + padding: 1rem; + background-color: var(--sl-color-bg); + border: 1px solid var(--sl-color-gray-5); + border-radius: 0.5rem; + box-shadow: var(--sl-shadow-sm); + color: var(--sl-color-white); +} + +.dt-prereq-title { + margin: 0 0 0.5rem; + font-weight: 600; + font-size: var(--sl-text-h5); + line-height: var(--sl-line-height-headings); + color: var(--sl-color-white); +} + +.dt-prereq p { + margin: 0; +} + +.dt-prereq a { + color: var(--sl-color-text-accent); +} + /* Brand icons (channel/provider) embedded in tables and lists: keep them inline and vertically centred against the text baseline. */ .sl-markdown-content img[src^="/channel-icons/"],