跨介面記憶
跨介面記憶是附加到您帳戶的單一記憶,每個介面都會讀取和寫入,因此在終端機中設定的規則在聊天中同樣有效,而在聊天中學到的內容也可供透過 SDK 執行的程式碼使用。
跨介面記憶是附加到您帳戶而非應用程式的單一記憶,由您使用的每個介面讀取和寫入。
大多數存在於多個位置的工具都會在各自的位置保留獨立的記憶,因此您在終端機中教導的內容不會傳達到瀏覽器,而瀏覽器學到的內容也永遠不會到達您的程式碼。跨介面記憶則是相反的安排:一個儲存空間,每個介面皆可使用。
在 Dropstone 中,這意味著:
- 教導 CLI 一個規則,下一個聊天回覆就會遵循它。
- 在聊天中糾正您團隊命名分支的方式,CLI 會在下次提交時遵循。
- 要求聊天研究某個函式庫,當您的程式碼呼叫它時,SDK 工作階段便擁有該知識。
- 在任何介面上詢問「你記得關於我的什麼?」都會得到相同的清單。
共享此記憶的介面是已登入的介面:聊天、CLI、SDK 的本機用戶端,以及編輯器擴充功能。無頭 API 刻意保持無狀態,而無痕聊天只會讀取您已知的內容,不會寫入任何內容。請參閱 跨聊天、CLI 和 SDK 的記憶 和 每個介面的單一記憶。
Related articles
- AI agent with a memoryAn AI agent with a memory is one that keeps what it learns about you and your work, attaches it to your account rather than to one app, and applies it wherever you use the agent next.
- Agent memoryAgent memory is what an agent stores between sessions and brings back when it is relevant: standing rules, facts, studied material, and short summaries of past conversations.
- Memory across chat, CLI, and SDKDropstone memory belongs to your account, not to one app. A rule you set in the CLI applies in chat, and something learned in chat is available to the SDK. One memory, every surface.
- One memory across every surfaceThe account memory that follows you across Dropstone Chat, the CLI, and the SDK, what shares it and what does not, and how to keep an integration's learning out of your own memory.
Ctrl+I