addVectors(
vectors: number[][],
documents: DocumentInterface<Record<string, any>>[],
| Name | Type | Description |
|---|---|---|
vectors* | number[][] | |
documents* | DocumentInterface<Record<string, any>>[] | |
options | __type |
Adds precomputed vectors and corresponding documents to the vector store.
An array of vectors representing each document.
Array of documents associated with each vector.
Optional configuration for adding vectors, such as indexing.