Ask a question to get started
Enter to sendā¢Shift+Enter new line
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.
addDocuments(documents: Document<Record<string, any>>[], options: __type): Promise<any[]>
documents
Document<Record<string, any>>[]
Documents to be added.
options
__type