consolidate
Process unexamined source lines, extract candidate facts, and integrate pending facts into the knowledge graph. Call after capturing facts or before ending a conversation to keep the store current.
Instructions
Copy, extract, and integrate. Copies new lines from named sources, extracts candidate facts from them, and integrates pending facts: domains, entities, duplicates, contradictions, the knowledge graph.
Call this after capturing several facts, at a topic change, or before the conversation ends.
Extract is capped at 50 of the oldest unexamined lines per call; events_remaining in the result says how many wait. Pass all: true to take the whole backlog in one call, or limit: N for the oldest N.
When meaning search is on, integrate also embeds currently-true facts that have no vector for the working model. A result with facts_integrated: 0 can still have written vectors — read embedding (embedded, missing, error). Call get_stats for store-wide coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Extract the whole backlog this call instead of the capped oldest batch | |
| limit | No | Extract at most this many of the oldest unexamined lines |