规则与事实
Dropstone 保留两种记忆。常设规则无需搜索即可适用于每项任务。事实仅在相关时才会被调用。以下是这种区别为何重要以及它如何做出决定。
并非所有值得记住的内容都应同等对待。关于你喜欢代码编写方式的偏好必须每次都适用。你的暂存服务器名称只在谈论暂存时才有意义。Dropstone 将这两者作为不同类型的记忆来保留。
常设规则
规则是你希望从现在起遵循的内容。一种约定、一种风格偏好、一种禁止事项。
function 声明。规则适用于每项任务,无论任务看起来是否相关。这是有意为之。关于你喜欢函数编写方式的规则,在你要求编写 slug 辅助函数、日期解析器或任何其他内容时都必须成立。如果 Dropstone 仅在主题看似相关时才应用它,那么一旦你更换话题,规则就会悄悄失效。
因为规则会跟随你到任何地方,Dropstone 对什么会成为规则非常谨慎。
事实
事实是当前确实为真的内容。
事实仅在与你正在处理的内容相关时才会被调用。事实的数量远多于规则,如果每个对话都拉入所有事实,就会淹没真正重要的那些。当出现与某个事实相关的任务时,Dropstone 会将其引入。否则它不会碍事。
Dropstone 如何决定哪种类型
当你纠正它或陈述偏好时,Dropstone 会为你选择类型。
以常设指令形式表述的内容会成为规则:“总是”、“绝不”、“从现在起”、“用 X 而不是 Y”。你的纠正几乎总是规则,因为那是你在告诉它你希望事情如何完成。
其他一切都会成为事实:它发现的细节、有效的技术、名称、版本。
当它确实不确定时,它会选择事实。理由很简单:漏掉一条规则只会让你多提醒一次,但一条错误的规则会跟随你进入每个对话,直到你注意到并移除它。
你可以做什么
你可以查看每条记忆属于哪种类型,也可以更改它。让 Dropstone 显示你的常设规则,它只会列出这些。如果它归类为事实的内容实际上应该每次都适用,告诉它,它就会变成规则。如果一条规则在不该触发的任务上触发,你可以要求它停止应用。
查看 Dropstone 学到了什么 和 更改或忘记记忆 会逐步介绍这两种操作。
Related articles
- How Dropstone remembers youDropstone keeps a persistent memory that follows your account across chat, the CLI, and the SDK. Correct it once and it should not need correcting again, anywhere you use it.
- See what Dropstone has learnedAsk Dropstone what it remembers and it lists everything, standing rules separately from facts. You can also ask what memory it used on a specific reply. Nothing is hidden from you.
- Change or forget a memoryTell Dropstone to forget something and it stops applying it. Tell it a fact should be a rule, or a rule is too broad, and it adjusts. Only you can remove a memory. It never forgets on its own.
- How an agent learns as it worksDropstone is a self-learning agent. It records what it learns from corrections, from finished work, and from sources you ask it to study, and it uses that the next time without being told. Here is the loop.