> 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/memory.md).

# 记忆

了解如何使用“记忆”功能回顾过去的会话、管理对话历史，并为角色启用长期记忆。

## 简介

“记忆”部分可让你查看角色的对话历史，并决定角色是否应在不同会话之间记住信息。你可以用它来检查互动记录、排查问题，以及启用持久化偏好。

## 近期记忆

此选项卡会列出你与角色进行过的所有会话。\
你可以查看每个会话的：

* **日期** – 会话发生的日期。
* **时间** – 会话的开始时间，以 UTC 时区显示。
* **会话 ID** – 该会话的唯一标识符。

{% hint style="info" %}
如果会话中出现问题，支持团队可能会要求你提供会话 ID，以便进行详细调查。
{% endhint %}

**可用操作：**

* **查看对话：** 点击向下箭头，展开并查看该会话的对话记录。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2Fu1HH7nIVSu682O1eQnNN%2FScreenshot%202025-08-09%20193632.png?alt=media&amp;token=8f4a2d3f-b8d5-475d-9f8f-ca86c8b3711a" alt=""><figcaption></figcaption></figure>

* **复制或下载：** 使用右侧的三点菜单复制或下载会话数据。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2FSjwulWY4xNzQCKmUvNCm%2Fimage.png?alt=media&amp;token=82b7343c-41e5-41f7-a6c4-146e32605b73" alt=""><figcaption></figcaption></figure>

***

## 记忆设置

此选项卡允许你启用或停用 **长期记忆**.

启用长期记忆后 **启用**，你的角色便能记住之前会话中的偏好、选择和事实。例如：\
如果你在某次会话中告诉角色“我最喜欢的颜色是蓝色”，之后在另一次会话中问“我最喜欢的颜色是什么？”，角色就会回答“蓝色”。

停用后，角色将不会在不同会话之间保留信息。

<figure><img src="https://2402152281-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEtUJA212Zc1S9ACc8T4l%2Fuploads%2F2Muespq3g0XCpuQeXq87%2Fimage.png?alt=media&amp;token=77d45bd8-61ef-439a-97b0-ce967852f7d4" alt=""><figcaption></figcaption></figure>

***

## 总结

“记忆”功能让你能够灵活控制角色如何随着时间推移与你互动。使用“近期记忆”查看并分享特定会话，并通过调整“记忆设置”决定角色是否应在不同对话中保留信息。


---

# 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/memory.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.
