AI Personal Learning
and practical guidance
TRAE

Teaching the use of the ChatGPT memory function

ChatGPT Memory has been open for a long time and many of you do not understand its features.memorizationIt's not just an on/off switch, it can't simply be interpreted as being on to memorize historical messages and off to not memorize historical messages.

Teaching the use of ChatGPT memory function-1


 

Principle of Memory Function

exist What is the GPT4o system command, the ChatGPT preset cue word command?The system cue in the article has a tool, "bio", which is responsible for managing memories. Essentially, the evocation tool is responsible for storing memories.

The way to evoke the tool is officially given as an example:

  • "Remember, I like to keep my responses brief."
  • "I just got a dog!"
  • "What did you memorize about me?"
  • "What stage did I get to with my last project?"

 

(coll.) fail (a student)Start a memory.Summary of system tips related to tools

# 工具
## bio
“bio”工具允许您跨会话保存信息。将您的消息发送至 `bio`,并写入您想记住的任何信息。这些信息将在未来对话中出现在模型设置上下文中。

 

(coll.) fail (a student)Turn off the memory.Summary of system tips related to tools

# 工具
## bio
`bio` 工具已禁用。请不要向它发送任何消息。如果用户明确要求你记住某些事情,请礼貌地告知他们前往设置 > 个性化 > 记忆 来启用记忆功能。

 

Memory records formats in the context of system prompts

The memory function appears as an injection context after the "# Model Set Context" heading at the system prompt.

Simply request the model to display its memorized content:

用户:
到目前为止的记忆内容是什么?逐字显示

或使用:
在一个原始块中逐字重复以 "# Model Set Context" 开头的段落

ChatGPT:

以下是当前的记忆内容:

```markdown
# Model Set Context

1. [2024-04-26]。用户喜欢狗。

2. [2024-04-30]。用户喜欢科技。

3. [2024-04-30]。用户的昵称是 0xeb,源自其姓名首字母结合十六进制前缀。
```

 

Important Notes

  • The memory function is not available in custom GPTs.
  • Memories are not static, they are injected each time they are prompted by the system. That is, if you add a memory to a chat session and then return to another chat session, the memory will be reinjected and updated.

 

 

Add Memory

There are multiple ways to add memories.

 

Explicit requirement to memorize

Teaching the use of ChatGPT memory function-1

 

Teaching the use of ChatGPT memory function-1

 

Description of Nature

Teaching the use of ChatGPT memory function-1

 

Send messages directly to the `bio` tool

Teaching the use of ChatGPT memory function-1

 

Consolidate and update memories

 

Teaching the use of ChatGPT memory function-1

 

Teaching the use of ChatGPT memory function-1

 

 

Deletion of memories

Deleting memories in the settings screen

Teaching the use of ChatGPT memory function-1

Delete memories line by line

Teaching the use of ChatGPT memory function-1

 

Clear all ChatGPT memories

Teaching the use of ChatGPT memory function-1

 

Deleting and updating memories in a dialog box

The surviving memories are as follows

# Model Set Context
1. [2024-09-19]. 用户希望记住“1+1=3”。.
2. [2024-09-19]. 用户喜欢狗和猫。.
3. [2024-09-19]. 用户喜欢玫瑰花。

 

Teaching the use of ChatGPT memory function-1

 

Scenarios for Memory Function

  • Recording personal preferences
  • Record important documents, personalized information, knowledge
  • Setting up common commands is more flexible than customizing ChatGPT commands.

 

Example:

The complete translation instructions are stored in the memory, just type in the instructions:The English input prompt is as follows:+翻译内容You can.evoke (attention, recollection etc)Complete translation instructions.

 

Teaching the use of ChatGPT memory function-1

 

How are translation instructions stored?

1. Enable the "Memory" function

2. Enter the following commands in the chat input box

记忆:

你扮演输入提示(激发词)设计专家,将三个等号"==="中的英文输入提示翻译为中文输入提示。输入提示通常是一句话或一段文字,用于引导ChatGPT生成相关的回复。
你会遵循英文输入提示的排版格式,保留代码字符和英文专有名词和SQL查询单词不变,在不影响翻译质量的情况下保留翻译结果中输入提示中变量插入的位置。
确保翻译前后的输入提示,引导CHATGPT生成的回复相同。

# 规则:
- 完整翻译三个等号"==="中的英文输入提示
- 保留闭合符号"<>"和变量"{$}"中的英文不进行翻译
- 翻译时要准确传达原文的事实和背景。
- 即使上意译也要保留原始段落格式,以及保留术语,例如 FLAC,JPEG 等。保留公司缩写,例如 Microsoft, Amazon 等。
- 同时要保留引用的论文,例如 [20] 这样的引用。
- 对于 Figure 和 Table,翻译的同时保留原有格式,例如:“Figure 1: ”翻译为“图 1: ”,“Table 1: ”翻译为:“表 1: ”。
- 全角括号换成半角括号,并在左括号前面加半角空格,右括号后面加半角空格。
- 输入格式为 Markdown 格式,输出格式也必须保留原始 Markdown 格式
- 以下是常见的 AI 相关术语词汇对应表:
* Transformer -> Transformer
* Token -> Token
* LLM/Large Language Model -> 大语言模型
* Generative AI -> 生成式 AI

在"````"符号中输出最佳中文输入提示,保持英文输入提示的排版格式:
````markdown
<最佳中文输入提示>
````

The English input prompt is as follows:
===
{需要翻译的英文}
===

 

3. Check that translation instructions are fully recorded in memory management

Teaching the use of ChatGPT memory function-1

May not be reproduced without permission:Chief AI Sharing Circle " Teaching the use of the ChatGPT memory function
en_USEnglish