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>>[]): Promise<void>
vectors
number[][]
An array of vectors representing each document.
documents
Document<Record<string, any>>[]
Array of documents associated with each vector.