> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/convai-playground/character-customization/mindview.md).

# 思维视图

了解如何使用“思维视图”功能查看当前或过去会话与交互中传给 LLM 的实际提示词。

{% hint style="danger" %}
此功能仅适用于专业版及更高级别的套餐。
{% endhint %}

## **简介**

“ **Mindview** ”部分可让您查看 **提示词** ，即发送给模型以生成角色回复的内容。\
它是一款强大的工具，可用于：

* 了解角色如何处理上下文。
* 改进您的 **角色描述**, **知识库**和 **语言设置**.
* 排查意料之外或前后不一致的回复。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FyPz3rdCpOmw1A5fHI69c%2Fimage.png?alt=media&amp;token=ec90783a-e258-4916-af08-e5d0a8a5c77a" alt=""><figcaption></figcaption></figure>

***

## **访问 Mindview**

您可以直接从 Convai Playground 左侧的导航菜单中打开 **Mindview** 标签页。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FBByKmIGLxYVOLeZFhsrw%2FScreenshot%202025-11-05%20140521.png?alt=media&amp;token=c3f7a326-5dd2-4a53-9563-1ef4162ba6e6" alt=""><figcaption></figcaption></figure>

首次打开时，系统会要求您从 **对话或交互** 中选择一个，位置在 **记忆** 标签页中。\
或者，您也可以开始新的对话——Mindview 会自动显示 **最新消息**.

要查看 **先前的交互**:

1. 请前往 **记忆** 标签页。
2. 展开所需的 **会话**.
3. 点击 **Mindview 图标** ，即可打开任意消息对应的提示词视图。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FDfDzfDesAtZWdXxzu3rY%2FMindview.png?alt=media&amp;token=c13ed141-59d7-41c6-abec-b6222405749c" alt=""><figcaption></figcaption></figure>

***

## 了解 Mindview 界面

打开后，您将看到一个结构化视图，展示模型如何解读输入并作出回应。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FyPz3rdCpOmw1A5fHI69c%2Fimage.png?alt=media&amp;token=ec90783a-e258-4916-af08-e5d0a8a5c77a" alt=""><figcaption></figcaption></figure>

### **标题信息**

屏幕顶部会显示以下信息：

* **会话 ID** – 标识此交互所属的会话。
* **模型名称** – 显示用于生成回复的大语言模型。
* **用户查询** – 显示触发此提示词的确切消息或查询。

### **主要提示词部分**

这是 Mindview 的核心部分。它展示了 **完整的消息链** （系统、助手和用户消息），这些消息共同构成了发送给模型的完整提示词。

每个部分都能帮助您了解模型在生成回复之前如何理解角色的上下文和指令。

***

## 影响主要提示词的因素

Mindview 中显示的主要提示词由角色和会话的多个方面动态构建：

| 来源        | 说明                                                           |
| --------- | ------------------------------------------------------------ |
| **角色描述**  | 定义角色的背景故事和核心背景信息。位于 `<back-story>` ... `</back-story>` 标签之间。 |
| **语言与语音** | 包含允许使用的语言以及相关语音配置。                                           |
| **个性特征**  | 控制角色对话的语气、情绪和正式程度。                                           |
| **叙事设计**  | 将当前叙事设计部分中的目标或背景信息融入用户输入。                                    |
| **知识库**   | 添加相关外部知识，以提高事实准确性或提供特定领域的回答。                                 |
| **长期记忆**  | 在适用时，注入跨会话积累的持久信息。                                           |

***

## 使用场景

* 调试并完善 **角色提示词** 的构建方式。
* 找出角色设置中缺失或相互冲突的信息。
* 验证是否在回答中纳入了正确的 **知识库**, **个性特征**和 **叙事设计** 数据。

***

## 总结

Mindview 标签页让创作者深入了解 Convai 角色生成回复的内部机制。\
通过分析提示词并了解上下文如何层层叠加，你可以微调角色，使其互动更加 **一致**, **准确**且 **符合角色个性** 。


---

# 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://docs.convai.com/api-docs/zh/convai-playground/character-customization/mindview.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.
