Installation
Install the required packages:Setup
Set your MongoDB connection string as an environment variable:Usage
MongoDB Atlas supports both sync and async operations:Configuration Options
- collection - Name of the MongoDB collection
- embedder - Embedder instance for generating embeddings
- connection_string - MongoDB Atlas connection string
- database_name - Name of the MongoDB database
For more details, see the MongoDB Atlas documentation.