Ask a question to get started
Enter to sendā¢Shift+Enter new line
Adds an array of documents to the collection. The documents are first converted to vectors using the embedDocuments method of the embeddings instance.
embedDocuments
embeddings
addDocuments(documents: Document<Record<string, any>>[]): Promise<void>
documents
Document<Record<string, any>>[]
Array of Document instances to be added to the collection.