smart_ingest
Ingest memories by automatically deciding to create, update, or supersede based on similarity. Supports single items or batch arrays for session-end saves.
Instructions
INTELLIGENT memory ingestion with Prediction Error Gating. Single mode: provide 'content' to auto-decide CREATE/UPDATE/SUPERSEDE. Batch mode: provide 'items' array (max 20) for session-end saves — each item runs the full cognitive pipeline (importance scoring, intent detection, synaptic tagging).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for categorization | |
| items | No | Batch mode: array of items to save (max 20). Defaults to force-creating each caller-separated item; set batchMergePolicy='smart' to allow Prediction Error Gating against existing memories. Use at session end or before context compaction. | |
| source | No | Source or reference for this knowledge | |
| content | No | The content to remember. Will be compared against existing memories. (Single mode) | |
| node_type | No | Type of knowledge: fact, concept, event, person, place, note, pattern, decision | fact |
| forceCreate | No | Force creation of a new memory even if similar content exists | |
| batchMergePolicy | No | Batch mode only. Defaults to 'force_create' so caller-separated items stay separate. Use 'smart' to allow Prediction Error Gating against existing memories. | force_create |