Ask a question to get started
Enter to sendā¢Shift+Enter new line
addDocuments(documents: Document<Record<string, any>>[], options: __type): Promise
documents
Document<Record<string, any>>[]
options
__type
Method to add documents to the MongoDB collection.
In manual embedding mode: converts documents to vectors using embeddings, then inserts. In auto-embed mode: inserts documents with text only; MongoDB server handles embedding.
Documents to be added.