Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/store-sqlite / / SqliteMemoryWriteOptions

Interface: SqliteMemoryWriteOptions

Defined in: packages/store-sqlite/src/memory-store.ts:77

Extended write surface for fact / episode / message writes. The base SemanticMemoryStore.remember(...) / EpisodicMemoryStore.put(...) methods leave embeddings out — SqliteMemoryStore accepts an optional embedding through these helpers.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
embedding?readonlyEmbeddingPayload-packages/store-sqlite/src/memory-store.ts:78
indexText?readonlystringContextual-retrieval index text (P1-3). When supplied, the FTS5 row is indexed against this (context-prepended) text instead of the canonical fact.text, so a terse fact stays findable by a vaguely-worded query. The persisted facts.text column — the value shown to the user / audit trail — is always the canonical text; only the lexical index is affected. The caller's embedding.vector should be computed from the same index text so the vector and FTS surfaces agree. Absent ⇒ the FTS row uses fact.text (pre-P1-3 behaviour).packages/store-sqlite/src/memory-store.ts:89