跨聊天、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.