Ask a question to get started
Enter to sendā¢Shift+Enter new line
Adds documents to the Chroma database. The documents are first converted to vectors using the embeddings instance, and then added to the database.
embeddings
addDocuments(documents: Document<Record<string, any>>[], options: __type): Promise<string[]>
documents
Document<Record<string, any>>[]
An array of Document instances to be added to the database.
Document
options
__type
Optional. An object containing an array of ids for the documents.
ids