Langchain mongodb atlas It now has support for native Vector Search on the MongoDB document data. Jun 22, 2023 ยท LangChain and MongoDB Atlas are a natural fit, and it’s been demonstrated by the organic community enthusiasm which has led to several integrations in LangChain for MongoDB. . test as the Atlas namespace to store the documents. Vector Search Retriever After instantiating Atlas as a vector store , you can use the vector store instance as a retriever to query your data using Atlas Vector Search . It contains the following packages. We need to install langchain-mongodb python package. MongoDB Atlas. Installation and Setup See detail configuration instructions. This notebook covers how to MongoDB Atlas vector search in LangChain, using the langchain-mongodb package. vector_index as the index to use for querying the vector store. This is a Monorepo containing partner packages of MongoDB and LangChainAI. langchain_db. MongoDB Atlas. MongoDB Atlas It supports native Vector Search and full-text search (BM25 algorithm) on your MongoDB document data. The Atlas Vector Search feature allows you to store your embeddings in MongoDB documents, create vector search indexes, and perform KNN search with an approximate nearest neighbor algorithm called Hierarchical Navigable Small Worlds. In addition to now supporting Atlas Vector Search as a Vector Store there is already support to utilize MongoDB as a chat log history. It supports native Vector Search, full text search (BM25), and hybrid search on your MongoDB document data. The text-embedding-3-large embedding model from OpenAI to convert the text into vector embeddings for the embedding field. MongoDB Atlas is a fully-managed cloud database available in AWS, Azure, and GCP. You can use LangChain's built-in retrievers or the following MongoDB retrievers to query and retrieve data from Atlas. langchain-mongodb ; langgraph-checkpoint-mongodb ; Note: This repository replaces all MongoDB integrations currently present in the langchain-community package The connection string to your Atlas cluster. It includes integrations between MongoDB, Atlas, LangChain, and LangGraph. ijodu erig ehceqf tkqukio fsps ywpw bmm ngh jyzg qkmwt |
|