nanomem_add
Store a fact, note, or document into persistent long-term memory. Records are marked superseded when replaced, preventing outdated answers.
Instructions
Store a fact, note, or document into persistent long-term memory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The information to remember. | |
| entity | No | The attribute this states, e.g. 'employer', 'home_address', 'phone'. Pass the SAME value every time you write a new value of the same attribute -- that is what lets nanomem know which statement supersedes which. Omit it only if you genuinely do not know; a lexical tagger then guesses, and it guesses badly on narrative phrasing ('I moved jobs, I now work at ...'). | |
| source | No | Source identifier (e.g. user_chat, doc.pdf). | |
| timestamp | No | Unix seconds this was true. Defaults to now. |