Ask a question to get started
Enter to send•Shift+Enter new line
Method to add vectors to the vector store. It converts the vectors into rows and inserts them into the database.
addVectors( vectors: number[][], documents: Document<Record<string, any>>[], options: __type ): Promise<string[]>
vectors
number[][]
Array of vectors.
documents
Document<Record<string, any>>[]
Array of Document instances.
Document
options
__type
Optional arguments for adding documents