Dropstone 記憶:規則與事實
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.