Interface: VectorIndexOptions<M>
Defined in: vector-index.ts:37
Type Parameters
M
M
Properties
batchSize?
optionalbatchSize?:number
Defined in: vector-index.ts:44
Texts per embedding request. Default 32.
documents?
optionaldocuments?: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?
optionalstorage?:VectorStorage
Defined in: vector-index.ts:42
Default IndexedDB, or memory when the browser has none.