Forget a memory
zenbrain_forgetPermanently delete a memory by its id and layer, plus linked consolidated copies, when a user asks to forget something or a stored memory is wrong.
Instructions
Permanently delete a memory, addressed by the id and layer that zenbrain_recall returned for it, together with what consolidation linked to it; this cannot be undone. Forgetting an episode also deletes the fact zenbrain_consolidate made from it; forgetting such a fact also deletes every episode consolidated into it; both also delete the working-memory copies of that content. Forgetting a working-memory result deletes only that copy. alsoForgotten lists everything deleted besides the memory itself. A memory stored on its own and never consolidated keeps its long-term entry. Use it when the user asks to forget something or a stored memory is wrong; to correct a memory, forget it and store the corrected version with zenbrain_store. An id the layer does not hold is reported as not forgotten, not as an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id of one result from zenbrain_recall. | |
| layer | Yes | The layer of that same result, exactly as zenbrain_recall reported it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| layer | Yes | ||
| forgotten | Yes | True if the memory was deleted, false if the layer held none with that id. | |
| alsoForgotten | Yes | Memories deleted with it: what consolidation linked to it (derived from it, or it from), and working-memory copies. |