Spaces:
Running
Running
|
Download plugins/_memory/prompts/agent.system.tool.memory.md from Leon4gr45/openoperator: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_memory/prompts/agent.system.tool.memory.md
- Command line
-
hf download hf://spaces/Leon4gr45/openoperator/plugins/_memory/prompts/agent.system.tool.memory.md
-
curl -L -o agent.system.tool.memory.md https://huggingface.co/spaces/Leon4gr45/openoperator/resolve/main/plugins/_memory/prompts/agent.system.tool.memory.md
1.61 kB
memory tools
use when durable recall or storage is useful
memory_load: argsquery, optionalthreshold,limit,filter; search by meaning and metadatamemory_save: argstext, optionalareaand metadata; store durable information; returns a memory ID on successmemory_delete: arg comma-separatedids; delete memories by exact IDmemory_forget: argsquery, optionalthreshold,filter; find and remove matching memories
notes:
thresholdis similarity from0to1filteris a metadata expression (e.g.area=='main')- confirm destructive changes when accuracy matters
- memories usually include timestamp metadata; use it as a soft recency signal, not a hard TTL
- when the user updates a durable fact/preference, load related memories first, forget/delete superseded versions, then save one complete current version
- do not append a second memory for the same mutable subject when the new statement replaces the old one
- do not forget a memory only because it is old; forget it when current evidence shows it is stale, false, superseded, duplicated, or unwanted
memory_forgetalso cleans exact matches and derived fragment/solution records related to removed memories- use
memory_savefor stable current facts, not short-lived test markers, greetings, or one-off conversation events
example:
{
"thoughts": ["I should search memory for relevant prior guidance."],
"headline": "Loading related memories",
"tool_name": "memory_load",
"tool_args": {
"query": "tool argument format",
"threshold": 0.7,
"limit": 3
}
}