Ask a question to get started
Enter to send•Shift+Enter new line
Method that adds vectors to the usearch index. It also updates the mapping between vector IDs and document IDs.
usearch
addVectors(vectors: number[][], documents: Document<Record<string, any>>[]): Promise<string[]>
vectors
number[][]
An array of vectors to be added to the index.
documents
Document<Record<string, any>>[]
An array of Document instances corresponding to the vectors.
Document