Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / EpisodeInput

Interface: EpisodeInput

Defined in: packages/memory/src/tiers/episodic-memory.ts:23

Author-time episode payload. The framework derives id, kind: 'episodic', userId, createdAt, updatedAt, and the embedder_id from the surrounding EpisodicMemory.record(...) call.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
endedAtreadonlystring-packages/memory/src/tiers/episodic-memory.ts:26
importance?readonlynumberOptional importance score in [0, 1].packages/memory/src/tiers/episodic-memory.ts:28
provenance?readonlyMemoryProvenanceTrust-provenance tag (P1-4). Episodes auto-formed by the consolidator pass 'extraction' so they land quarantined; omit (defaults to first-party active) for user-authored episodes.packages/memory/src/tiers/episodic-memory.ts:36
sensitivity?readonlySensitivity-packages/memory/src/tiers/episodic-memory.ts:29
startedAtreadonlystring-packages/memory/src/tiers/episodic-memory.ts:25
status?readonlyMemoryStatusRetrieval-trust state (P1-4). Defaults to active; the consolidator records auto-formed episodes as 'quarantined' so they are excluded from action-driving recall until validated.packages/memory/src/tiers/episodic-memory.ts:42
summaryreadonlystring-packages/memory/src/tiers/episodic-memory.ts:24
tags?readonlyreadonly string[]-packages/memory/src/tiers/episodic-memory.ts:30