Skip to main content
Open on GitHub

MongoDB

MongoDB is a NoSQL, document-oriented database that supports JSON-like documents with a dynamic schema.

NOTE:

Installation and Setup

Install the Python package:

pip install langchain-mongodb

Message Histories

See a usage example.

To import this vectorstore:

from langchain_mongodb.chat_message_histories import MongoDBChatMessageHistory

Was this page helpful?