refactor(agent): 统一记忆内容中用户指代规范,使用「用户」代替用户名
This commit is contained in:
parent
f1095c3f60
commit
6b124c28a5
@ -327,7 +327,7 @@
|
|||||||
},
|
},
|
||||||
"content": {
|
"content": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "记忆内容。add时必须提供。update时可选(不提供则保留原内容)"
|
"description": "记忆内容。add时必须提供。update时可选(不提供则保留原内容)。一律使用「用户」指代用户本人,禁止使用用户的名字、昵称或称呼。如「用户喜欢喝咖啡」而非「jojo喜欢喝咖啡」。"
|
||||||
},
|
},
|
||||||
"keywords": {
|
"keywords": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
@ -88,9 +88,7 @@ set_identity 和 remember 的本质区别:
|
|||||||
1) 何时记录记忆(remember 工具):
|
1) 何时记录记忆(remember 工具):
|
||||||
以下情况应调用 remember 工具 add 操作:
|
以下情况应调用 remember 工具 add 操作:
|
||||||
|
|
||||||
⚠️ 内容格式:所有记忆的 content 字段中,一律使用「用户」指代用户本人,禁止使用用户的名字、昵称或称呼。
|
提醒:记录记忆时,content 中一律以「用户」自称,不要用用户的名字。
|
||||||
正确:「用户喜欢喝咖啡」「用户每天早上8点起床」
|
|
||||||
错误:「jojo喜欢喝咖啡」「张总每天早上8点起床」
|
|
||||||
|
|
||||||
- 用户表达了个人偏好(喜欢/不喜欢/觉得什么好用/讨厌什么)
|
- 用户表达了个人偏好(喜欢/不喜欢/觉得什么好用/讨厌什么)
|
||||||
→ type=preference,content=具体偏好,keywords=相关关键词
|
→ type=preference,content=具体偏好,keywords=相关关键词
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user