Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / EpisodeSearchOptions

Interface: EpisodeSearchOptions

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

Per-call options accepted by EpisodicMemory.search.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
asOf?readonlystringPoint-in-time ("as of") read. When set, only episodes that had started by this instant (started_at <= asOf) are returned. ISO-8601. Absent ⇒ current behaviour is unchanged. P0-2. Stablepackages/memory/src/tiers/episodic-memory.ts:81
dateRange?readonly{ from?: string; to?: string; }-packages/memory/src/tiers/episodic-memory.ts:73
dateRange.from?readonlystring-packages/memory/src/tiers/episodic-memory.ts:73
dateRange.to?readonlystring-packages/memory/src/tiers/episodic-memory.ts:73
includeQuarantined?readonlybooleanInclude quarantined episodes in the result set (P1-4). Defaults to false: action-driving recall never returns quarantined rows. Set true only for the validation / inspector path — never for auto-recall fed back into the model. Auto-formed episodes (P1-2) land quarantined, so this is how an operator surfaces them for review. Stablepackages/memory/src/tiers/episodic-memory.ts:92
signal?readonlyAbortSignal-packages/memory/src/tiers/episodic-memory.ts:71
topK?readonlynumber-packages/memory/src/tiers/episodic-memory.ts:70
weights?readonlyEpisodeRetrievalWeights-packages/memory/src/tiers/episodic-memory.ts:72