Overview
The MongoDB Document Loader returns a list of LangChain Documents from a MongoDB database. The Loader requires the following parameters:- MongoDB connection string
- MongoDB database name
- MongoDB collection name
- (Optional) Content Filter dictionary
- (Optional) List of field names to include in the output
- pageContent= Mongo Document
- metadata={‘database’: ‘[database_name]’, ‘collection’: ‘[collection_name]‘}