> 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.
