memory_fact_get
Retrieve the current value of a fact for a given entity and attribute from long-term memory, returning null if empty and conflict indicators if unsettled.
Instructions
Look up the one CURRENT value at an (entity, attribute) slot;
open questions go to memory_search. A null record means EMPTY, not
unknown. A set-valued slot returns {kind: "set", members, removed}
instead — members: [] means EMPTY too.
Returns: {record | null, contenders} (+ entity_ref when the
entity has a graph node). Non-empty contenders = unsettled
conflict (see memory_fact_resolve (core)); on an empty slot,
candidates lists nearby slots — ranked leads, not answers.
re_verify = a memory this fact was derived from has since been
corrected; the value still stands but check it before acting. Set slots
carry it too, at the slot. PostgreSQL keeps this warning after the
corrected source memory is evicted or deleted; file mode has no durable
retraction warning. verbose=True adds the record's provenance,
support and temporal stamp; memory_history (full) shows the slot's
version chain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | The slot's subject; the (entity, attribute) match is case- and separator-insensitive. | |
| verbose | No | Full record; the default drops bookkeeping keys. | |
| attribute | Yes | The slot's attribute. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||