Ask a question to get started
Enter to sendā¢Shift+Enter new line
Adds vectors to the Chroma database. The vectors are associated with the provided documents.
addVectors( vectors: number[][], documents: Document<Record<string, any>>[], options: __type ): Promise<string[]>
vectors
number[][]
An array of vectors to be added to the database.
documents
Document<Record<string, any>>[]
An array of Document instances associated with the vectors.
Document
options
__type
Optional. An object containing an array of ids for the vectors.
ids