Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/memory / / EmbeddedWriteOptions
Interface: EmbeddedWriteOptions
Defined in: packages/memory/src/internal/storage-adapter.ts:33
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.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
embedding? | readonly | { embedderId: string; vector: Float32Array; } | - | packages/memory/src/internal/storage-adapter.ts:34 |
embedding.embedderId | readonly | string | - | packages/memory/src/internal/storage-adapter.ts:35 |
embedding.vector | readonly | Float32Array | - | packages/memory/src/internal/storage-adapter.ts:36 |
indexText? | readonly | string | Contextual-retrieval index text (P1-3). 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 (pre-P1-3 behaviour). | packages/memory/src/internal/storage-adapter.ts:44 |