Interface: SerializedIndex
Complete serialized representation of an index for local .moss file storage. Contains all data necessary to recreate an index, including configuration, documents, and pre-computed embeddings.Properties
| Property | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the index. |
version | string | Yes | Index build/format version (semver). |
model | ModelRef | Yes | Model bound to this index. |
dimension | number | Yes | Embedding dimensionality. |
embeddings | number[][] | Yes | Embedding vectors (rows = embedding vectors). |
docIds | string[] | Yes | Document IDs parallel to embeddings. |