Jido. Memory. Record
(Jido Memory v1.0.0)
View Source
Canonical data model for a memory record.
This is intentionally data-first and backend-agnostic so records can be indexed in ETS now and migrated to richer retrieval systems later.
Summary
Functions
Returns the canonical memory class taxonomy.
Returns a normalized comparison key for open kind values.
Builds and normalizes a memory record.
Builds and normalizes a memory record, raising on error.
Normalizes class filters (atoms or class strings).
Normalizes kind values while keeping the field open for custom shapes.
Normalizes a list of tags to unique strings.
Returns the Zoi schema for records.
Returns a deterministic id for normalized record payloads.
Types
@type class() :: :episodic | :semantic | :procedural | :working
Functions
@spec canonical_classes() :: [class()]
Returns the canonical memory class taxonomy.
Returns a normalized comparison key for open kind values.
Builds and normalizes a memory record.
Builds and normalizes a memory record, raising on error.
Normalizes class filters (atoms or class strings).
Normalizes kind values while keeping the field open for custom shapes.
Normalizes a list of tags to unique strings.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for records.
Returns a deterministic id for normalized record payloads.