Ask a question to get started
Enter to sendā¢Shift+Enter new line
Adds an array of vectors and corresponding documents to the collection. The vectors and documents are batch inserted into the database.
addVectors(vectors: number[][], documents: Document<Record<string, any>>[]): Promise<void>
vectors
number[][]
Array of vectors to be added to the collection.
documents
Document<Record<string, any>>[]
Array of Document instances corresponding to the vectors.