smart_ingest
Ingest knowledge with prediction error gating to automatically create, update, or supersede existing memories. Supports batch saves of up to 20 items at session end for efficient memory consolidation.
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 |