Documentation for langchain-mongodb is hosted separately by the MongoDB team. Visit their official API reference site to get started with this integration.
Document Loaders are classes to load Documents.
MongoDB Atlas vector store integration.
MongoDB Atlas cache
MongoDB Atlas Semantic cache.
A MongoDB-based implementation of the record manager.
MongoDB Collection providing BaseStore interface.
Chat message history that stores history in MongoDB.
GraphRAG DataStore
Wrapper around a MongoDB database.
Base tool for interacting with a MongoDB database.
Tool for querying a MongoDB database.
Tool for getting metadata about a MongoDB database.
Tool for getting collection names.
Use an LLM to check if a query is correct.
MongoDBDatabaseToolkit for interacting with MongoDB databases.
Retriever performs full-text searches using Lucene's standard (BM25) analyzer.
Hybrid Search Retriever combines vector and full-text searches
Translator between MongoDB Query API and LangChain's StructuredQuery.
Retriever that uses an LLM to deduce filters for Vector Search algorithm.
MongoDB Atlas's ParentDocumentRetriever
RunnableSerializable API of MongoDB GraphRAG.
Row-wise cosine similarity between two equal-width matrices.
Compute Maximal Marginal Relevance (MMR).
Attempt to cast string representation of id to MongoDB's internal BSON ObjectId.
Convert MongoDB's internal BSON ObjectId into a simple str for compatibility.
Recursively cast values in a dict to a form able to json.dump
Prepare a query for vector search based on the embedding type.
Full-Text search using Lucene's standard (BM25) analyzer
Integrate your operational database and vector search in a single, unified,
Various Utility Functions
LangChain MongoDB Caches.
Search Index Commands
Aggregation pipeline components used in Atlas Full-Text, Vector, and Hybrid Search
These prompts serve as defaults, and templates when you wish to override them.
The following contains the JSON Schema for the Entities in the Collection representing the Knowledge Graph.
Wrapper around a MongoDB database.
Tools for interacting with a MongoDB database.
Toolkit for interacting with an MongoDB database.
Search Retrievers of various types.