Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/memory / / EmbeddedWriteOptions

Interface: EmbeddedWriteOptions

Defined in: packages/memory/src/internal/storage-adapter.ts:36

Stable

Shape of the embedding payload threaded through the optional embedded write helpers exposed by adapters such as @graphorin/store-sqlite. Matches the storage adapter's SqliteMemoryWriteOptions byte-for-byte but is declared structurally here so @graphorin/memory does not import the storage package directly.

Properties

PropertyModifierTypeDescriptionDefined in
embedding?readonly{ embedderId: string; vector: Float32Array; }-packages/memory/src/internal/storage-adapter.ts:37
embedding.embedderIdreadonlystring-packages/memory/src/internal/storage-adapter.ts:38
embedding.vectorreadonlyFloat32Array-packages/memory/src/internal/storage-adapter.ts:39
indexText?readonlystringContextual-retrieval index text. When supplied, the adapter indexes its lexical (FTS) surface against this context-prepended text while persisting the canonical text unchanged. Absent ⇒ the canonical text is indexed (no situating prefix).packages/memory/src/internal/storage-adapter.ts:47