> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/advanced-basic/knowledge-content/notes-knowledge-agent.md).

# 笔记、知识库与 Agent

【笔记】适合维护自己会继续修改的内容；【知识库】适合按问题检索较稳定的资料；Agent 工作目录适合当前任务正在处理的文件。把三者分开，内容会更容易维护。

## 笔记工作区

笔记支持文件夹、全文搜索和 Markdown 编辑，可在源码、实时预览和阅读模式之间切换。也可以导入 Markdown 文件或文件夹，并导出为 PDF、Word 等格式。

<figure><img src="https://3562065924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Ut5BptC3t8CtSU1UWpM%2Fuploads%2Fgit-blob-1556b2ada948cbeaa85cfc1baf7ce585d8fcdc4e%2Fcherry-v2-guide-notes-filled.png?alt=media" alt="笔记中按文件夹整理的差旅资料与出差审批流程正文"><figcaption><p>① 左侧按主题管理笔记；② 在中间工作区编辑和检查完整内容。</p></figcaption></figure>

### 应用案例：把制度笔记变成可查询资料

在【笔记】中新建【出差审批流程】，写清申请、审批、订票和报销四个环节。确认内容无误后，打开【知识库】→【添加】→【笔记】，选择这篇笔记并等待状态变为【就绪】。最后用实际问题做召回测试，再把知识库绑定给需要处理差旅问题的 Agent。

{% hint style="warning" %}
笔记更新后，检查知识库中的来源是否已经同步。正式制度变更时，应先处理旧内容，避免 Agent 同时引用两个相互冲突的版本。
{% endhint %}

## 内容怎样流转

{% stepper %}
{% step %}

### 1. 在笔记中整理草稿

把采访记录、会议要点或文章提纲整理成清楚的 Markdown。尚未确认的内容标为待核对，不急着加入知识库。
{% endstep %}

{% step %}

### 2. 将稳定内容加入知识库

选择笔记并使用加入知识库的操作。后续修改笔记后，检查知识库中的处理状态，必要时重新处理。
{% endstep %}

{% step %}

### 3. 绑定给 Agent

打开【工作】→ Agent 菜单→【编辑】→【知识库】，只选择与该 Agent 相关的资料库。
{% endstep %}

{% step %}

### 4. 让 Agent 生成新产物

任务需要落地成文件时选择工作目录，要求 Agent 新建明确的产物文件，不直接覆盖笔记原稿。
{% endstep %}
{% endstepper %}

### 应用案例：从会议笔记生成周报

每天把会议结论记在“本周记录”文件夹，周五先人工补齐负责人和状态，再将这些笔记交给“周报整理”Agent。Agent 按“已完成、进行中、风险、下周计划”生成周报文件；确认后导出 Word 发给团队。长期项目背景放知识库，本周临时进展留在笔记，避免旧进度干扰检索。

<details>

<summary>笔记加入知识库后，修改会立即同步吗？</summary>

先查看知识库中的数据状态。内容发生变化而检索结果没有更新时，重新处理对应资料，并再次做召回测试。

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/advanced-basic/knowledge-content/notes-knowledge-agent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
