Skip to main content

Interface: VectorIndexOptions<M>

Defined in: vector-index.ts:37

Type Parameters​

M​

M

Properties​

batchSize?​

optional batchSize?: number

Defined in: vector-index.ts:44

Texts per embedding request. Default 32.


documents?​

optional documents?: IndexDocument<M>[]

Defined in: vector-index.ts:40


name​

name: string

Defined in: vector-index.ts:39

Names the index in storage; one per kind of content.


storage?​

optional storage?: VectorStorage

Defined in: vector-index.ts:42

Default IndexedDB, or memory when the browser has none.