> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/zh/analytics/insights/ai-insights.md). Agents can also search and read this documentation through its [MCP server](https://gitbook.com/docs/~gitbook/mcp).

# AI 助手

查看访客向 AI 助手提出了什么问题、你的内容回答得有多好，以及文档在哪些方面还有不足

该 **AI 助手** 报告会显示访客提出的问题，以及它如何利用您的内容有效地 [AI 助手](https://gitbook.com/docs/documentation/zh/ai-for-your-readers/gitbook-ai-assistant.md) 回答这些问题。

要打开该报告，请在站点侧边栏中选择 **分析 → AI 助手** 。

四项指标概括了你所选的时间段：

* **提出的问题**：访客向助手提出的问题。
* **已解答**：助手解答的问题所占的比例。
* **有帮助**：访客对所获答案的评价。
* **节省**：通过回答这些问题而节省的预估支持工作量。

该 **随时间变化的问题** 图表显示来自 **真人** 以及来自 **AI 代理** 的问题，并将它们分别显示为不同的数据系列。可在 **问题** 和 **提问者** 之间切换，以更改图表统计的内容。

请参阅 [站点分析](https://gitbook.com/docs/documentation/zh/analytics/insights.md) ，了解筛选条件、时间段和时间段比较。

<figure><img src="https://2111890564-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2Fgit-blob-bf5b1acec91b0b050e682048f5018015edc8fba3%2F26_09_11_analytics_ai-assistant.png?alt=media&amp;token=5d029212-dc30-4bec-acf3-981cd72fe0b8" alt="The AI Assistant report showing questions asked, answered rate, helpfulness, savings, and question activity over time"><figcaption><p>AI 助手报告。</p></figcaption></figure>

## 主题

GitBook 会将问题归入不同的 **主题**，让您从主题层面了解访客的需求，而不必逐个查看问题。每个主题都会显示其随时间变化的表现以及所占流量比例。

点击某个主题即可打开其详细视图，查看该主题下的所有问题，并按 **类型** 或 **最近时间**分组。您可以借此审视反复出现的需求、发现文档中的不足，并了解您的站点是否能有效回答该领域的问题。

## 细分

四张卡片按以下维度细分此时间段的数据： **已回答** （回答是否解决了问题）、 **类别** （所提问题的类型）、 **渠道** （使用 Assistant 的位置：您的网站、 [文档嵌入](https://gitbook.com/docs/documentation/zh/publish/embedding.md)或已连接的工具），以及 **访客类型** （提问者是人、AI 代理还是机器人： **真人**, **AI 代理**, **机器人**或 **未知**）。点击任意值，或选择 **按此值筛选**，即可按该值筛选整份报告。

## 问题

“ **问题** ”卡片列出了向助手提出的所有问题。点击某个问题，即可查看 GitBook 如何处理该问题以及回答所依据的内容。

要查找特定问题，请在 **搜索问题…** 卡片中 **问题** 输入。

要查看访客针对某个页面提出的问题，请点击 **筛选** 并选择 **页面**。随后，报告只会显示答案引用了该页面的问题。API 也提供相同的筛选功能，可通过 `citedPage` 参数使用。

“ **筛选** ”菜单还包括 **仅显示相关问题**, **未回答的问题**, **访客类型**, **已认证访客**, **相关性**, **已回答**, **渠道**和 **主题**.

在详细视图顶部，你可以查看问题本身、访客提问的频率、其类型，以及它所属的主题。

### 对话与回答质量

在摘要下方，你可以查看与该问题相关的对话，并了解 GitBook 是完全、部分还是完全没有回答。对话面板还会显示完整的助手交流内容，包括任何后续问题和回复。

### 来源与上下文

来源部分显示 GitBook 回答问题时使用了哪些页面、记录或 [已连接的内容](https://gitbook.com/docs/documentation/zh/ai-for-your-readers/connections.md) 。您可以借此验证 AI 是否使用了正确的内容，也可以找出相关页面存在但未被找到的情况。

### 导出问题和答案

在“问题”卡片中，点击 **导出为 CSV** 并选择要下载的内容：

* **问题摘要**：每个问题占一行，并包含其汇总数据。
* **回答详情**：每个回答占一行，包含其主题、解决情况、有用程度、相关性、点赞或点踩反馈、渠道和语言。您可以借此查看助手的回复及其是否有效。

## 常见问题

<details>

<summary><strong>我该如何使用 AI 助手报告？</strong></summary>

它为你的团队提供访客在寻找答案时如何与文档互动的概览。

筛选报告有助于你识别内容缺口。你可以按以下项进行筛选：

* 访客最常提出的问题
* 访客搜索但没有答案的问题
* 你的文档未涵盖的主题

解决这些缺口可帮助访客更快找到答案——并更快理解你的产品。

{% hint style="info" %}
[内容缺口](https://gitbook.com/docs/documentation/zh/analytics/content-gaps.md) 会将这些缺口汇总为一个排名列表，而 GitBook Agent 可以打开变更请求来填补其中一个。
{% endhint %}

</details>

<details>

<summary><strong>“节省”是如何计算的？</strong></summary>

这是一个估算，基于这样一种假设：每五个已回答的问题中就有一个原本会变成支持工单。组织管理员可以通过 API 设置支持工单或支持工时的成本，使该估算更贴合你的团队。请将其视为数量级，而不是精确数值。

</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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/zh/analytics/insights/ai-insights.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
