Method to add vectors and documents to the vector store.
addVectors(
vectors: number[][],
documents: Document<Record<string, any>>[],
options: AddVectorOptions
): Promise<string[]>| Name | Type | Description |
|---|---|---|
vectors* | number[][] | Vectors to be added to the vector store. |
documents* | Document<Record<string, any>>[] | Documents to be added to the vector store. |
options | AddVectorOptions | Optional parameters for adding vectors. |