Method to add vectors to the Tigris database.
addVectors(
vectors: number[][],
documents: Document<Record<string, any>>[],
options: string[] | __type
): Promise<void>| Name | Type | Description |
|---|---|---|
vectors* | number[][] | An array of vectors to be added to the Tigris database. |
documents* | Document<Record<string, any>>[] | An array of Document instances corresponding to the vectors. |
options | string[] | __type | Optional parameter that can either be an array of string IDs or an object with a property 'ids' that is an array of string IDs. |