Dropstone 记忆在聊天、CLI 和 SDK 之间共享
Dropstone 记忆属于你的账户,而非某个应用。你在 CLI 中设置的规则同样适用于聊天,而在聊天中学到的内容也可供 SDK 使用。一份记忆,处处可用。
Dropstone 运行在多个地方:浏览器中的聊天应用、终端中的 CLI、你自己代码中的 SDK,以及 VS Code 扩展。大多数存在于多个地方的工具都会在各自环境中保留独立的记忆。Dropstone 只保留一份。
这就是 Dropstone 所说的 Continuity。你的记忆与你的账户绑定,每个界面都读写同一份记忆。
这在实践中意味着什么
一次教导,处处生效。 告诉 CLI 你从不使用 function 声明,下次你在聊天中要求编写辅助函数时,它会使用箭头函数。纠正聊天中关于团队分支命名方式的说法,CLI 会在你下次提交时遵循这一规则。
一次学习,处处可用。 让聊天研究某个库的文档,下次你的代码调用该库时,SDK 便已掌握这些知识。
随时接续。 在聊天中开始一段关于迁移的对话,合上笔记本电脑,然后在同一项目上打开 CLI。上下文就在那里。
一处管理。 在任何界面上询问“你记得关于我的什么?”,你都会得到相同的列表。删除一次,所有界面都会同步移除。
哪些界面共享记忆
| 界面 | 读取记忆 | 写入记忆 |
|---|---|---|
| Dropstone Chat (chat.dropstone.io) | 是 | 是 |
| Dropstone CLI | 是 | 是 |
| Dropstone SDK | 是 | 是 |
| VS Code 扩展 | 是 | 是 |
| 隐身聊天 | 是 | 否 |
隐身聊天 是唯一一个只读不写的界面:Dropstone 已经了解你的信息对它可用,而对话产生的任何内容都不会被保留。它适用于你不想被记住的工作,而不是用来躲避一个已经了解你习惯的助手。
上述每个界面都需要同一个 Dropstone 账户。CLI 通过 dropstone login 登录;聊天和仪表盘在同一浏览器中共享会话;SDK 的本地客户端使用 CLI 的登录状态,而其无头客户端(使用 API 密钥)则完全没有记忆。参见 一份记忆,处处可用。
记忆如何进入对话
当你在任何界面发送消息时,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.
- Memory in teams and organizationsIn a Dropstone organization, memory has three levels. Private is yours alone. Team is shared with one team. Organization is shared with everyone. Nothing is shared unless its author decides to share it.
- Where can I use Dropstone?Dropstone is available as a chat app in the browser, a CLI for macOS, Linux and Windows, a VS Code extension, and an SDK. They all share one account, one memory, and one usage allowance.
- Incognito chatsAn incognito chat writes nothing to your memory: nothing you say or correct is kept, and no summary is made. What Dropstone already knows about you is still available to it, so the work gets the same assistant without leaving a trace.