規則與事實
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.