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