Ask a question to get started
Enter to sendā¢Shift+Enter new line
Adds precomputed vectors and corresponding documents to the vector store.
addVectors( vectors: number[][], documents: Document<Record<string, any>>[], options: __type ): Promise<void | string[]>
vectors
number[][]
An array of vectors representing each document.
documents
Document<Record<string, any>>[]
Array of documents associated with each vector.
options
__type
Optional configuration for adding vectors, such as indexing.