什麼是跨介面記憶?
跨介面記憶是附加在你帳戶上的一份記憶,每個介面都會讀取和寫入,因此在終端機設定的規則在聊天中同樣有效,而在聊天中學到的內容,也能供透過 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