Documentation Index
Fetch the complete documentation index at: https://nvd-54.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
MongoDB Atlas is a fully-managed cloud database available in AWS, Azure, and GCP. It now has support for native Vector Search on the MongoDB document data.
安装和设置
查看详细配置说明. 我们需要安装langchain-mongodb Python 包.
向量存储
查看使用示例.检索器
Full text search retriever
Hybrid Search Retrieverperforms full-text searches using Lucene’s standard (BM25) analyzer.
Hybrid search retriever
Hybrid Search Retrievercombines vector and full-text searches weighting them the viaReciprocal Rank Fusion(RRF) algorithm.
Model caches
MongoDBCache
An abstraction to store a simple cache in MongoDB. This does not use Semantic Caching, nor does it require an index to be made on the collection before generation. 要导入此缓存:MongoDBAtlasSemanticCache
Semantic caching allows users to retrieve cached prompts based on semantic similarity between the user input and previously cached results. Under the hood it blends MongoDBAtlas as both a cache and a vectorstore. The MongoDBAtlasSemanticCache inherits fromMongoDBAtlasVectorSearch and needs an Atlas Vector Search Index defined to work. Please look at the usage example on how to set up the index.
要导入此缓存:
将这些文档连接 到 Claude、VSCode 等工具,通过 MCP 获取实时答案。

