Skip to main content

Module sources

Module sources 

Source
Expand description

Document source types – MemoryType enum, RawDocument, SourceType, SyncStatus.

Structs§

RawDocument
A raw document fetched from any source, ready for chunking and embedding.

Enums§

MemoryType
Closed taxonomy of memory facets – validated at API boundary. Stored as lowercase TEXT in SQLite.
SourceType
Persisted source type.
StabilityTier
Stability tiers determine supersede behavior, confidence defaults, and retrieval decay.
SyncStatus
Sync status for a connected source.

Functions§

stability_tier
Map a memory type string to its stability tier. NULL -> Ephemeral.