Ask a question to get started
Enter to sendā¢Shift+Enter new line
Method to add documents to the MongoDB collection. It first converts the documents to vectors using the embeddings and then calls the addVectors method.
addDocuments(documents: Document<Record<string, any>>[], options: __type): Promise<any[]>
documents
Document<Record<string, any>>[]
Documents to be added.
options
__type