This method adds the provided vectors to Upstash database.
addVectors(
vectors: number[][],
documents: DocumentInterface<Record<string, any>>[],
options: __type
): Promise<string[]>| Name | Type | Description |
|---|---|---|
vectors* | number[][] | Array of vectors to be added to the Upstash database. |
documents* | DocumentInterface<Record<string, any>>[] | Array of Document objects, each associated with a vector. |
options | __type | Optional object containing the array of ids foor the vectors. |