Skip to content

Graphorin API reference v0.15.1


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

Interface: SqliteMemoryWriteOptions

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

Stable

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.

Properties

PropertyModifierTypeDescriptionDefined in
embedding?readonlyEmbeddingPayload-packages/store-sqlite/src/memory-store.ts:172
indexText?readonlystringContextual-retrieval index text. 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 (the historical behaviour).packages/store-sqlite/src/memory-store.ts:184