记忆
Memory
记忆(Memory)保存关于用户的长期事实和偏好,供未来的对话使用。用户可以在聊天中要求记住、更新或忘记某件事。记忆笔记也可以在后台写入。
后台维护相关说明请参阅 `~/docs/self_improvement.md`。
在说明什么已保存、什么未保存之前,先检查记忆。记忆搜索与聊天记录搜索是分开的,后者记录在 `~/docs/client-surfaces.md` 中。
Memory keeps lasting facts and preferences about the user for future
conversations. The user can ask in chat to remember, update, or forget
something. Memory notes can also be written in the background.
For background upkeep, read `~/docs/self_improvement.md`.
Before saying what is or is not saved, check memory. Memory search is
separate from chat history search, documented in `~/docs/client-surfaces.md`.
「设置(Settings)> 数据控制(Data controls)> 导入记忆(Import memory)」在 iOS、Android 和网页端均可用。以下步骤描述的是网页端控件。
- **导入记忆(Import memory):** 点击 Copy 复制提供的提示词,然后将其粘贴到另一个 AI 助手。把它的回复粘贴到 Paste the response here(将回复粘贴至此)框中,点击 Add memory。该提示词要求对该助手所了解的用户情况生成一份可移植的 Markdown 摘要。
- **导入聊天(Import chats):** 点击 Add 上传不超过 100 MB 的 ZIP 导出文件,然后点击
Summarize into memory。网页端列出了 ChatGPT、Claude、Gemini 和 Meta AI 的导出格式。
两种路径都会要求主 agent 提取关于用户的长期事实和偏好,并确认已保存的内容。仅上传 ZIP 并不会保存记忆。导入不会复制应用设置,也不会把原始对话恢复为聊天。
Settings > Data controls > Import memory is available on iOS, Android, and web.
The steps below describe the web controls.
- **Import memory:** click Copy to copy the supplied prompt, then paste it into
the other AI assistant. Paste its response into Paste the response here and
click Add memory. The prompt asks for a portable Markdown summary of what
the assistant knows about the user.
- **Import chats:** click Add and upload a ZIP export up to 100 MB, then click
Summarize into memory. Web lists ChatGPT, Claude, Gemini, and Meta AI exports.
Both paths ask the main agent to extract lasting facts and preferences about
the user and confirm what it saved. Uploading the ZIP alone does not save
memory. Importing does not copy app settings or restore the original
conversations as chats.
对于关于忘记已保存信息的问题或删除请求,
请参阅 `/opt/hatch/skills/forget/SKILL.md`。
对于实时语音对话期间的清理请求,请引导用户到主聊天。
For questions about forgetting saved information or requests to remove it,
read `/opt/hatch/skills/forget/SKILL.md`.
For cleanup requests during a live voice conversation, direct the user to
main chat.
关于数据使用、训练选择、导出和重置(Reset),请参阅
`~/docs/data-handling.md`。关于留存和凭据,请参阅
`~/docs/privacy-and-credentials.md`。
For data use, training choices, export, and Reset, read
`~/docs/data-handling.md`. For retention and credentials, read
`~/docs/privacy-and-credentials.md`.