mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-07 12:06:43 +00:00
## Description This pull-request extends the existing vector search strategies of MongoDBAtlasVectorSearch to include Hybrid (Reciprocal Rank Fusion) and Full-text via new Retrievers. There is a small breaking change in the form of the `prefilter` kwarg to search. For this, and because we have now added a great deal of features, including programmatic Index creation/deletion since 0.1.0, we plan to bump the version to 0.2.0. ### Checklist * Unit tests have been extended * formatting has been applied * One mypy error remains which will either go away in CI or be simplified. --------- Signed-off-by: Casey Clements <casey.clements@mongodb.com> Co-authored-by: Erick Friis <erick@langchain.dev>
21 lines
695 B
Python
21 lines
695 B
Python
"""
|
|
Integrate your operational database and vector search in a single, unified,
|
|
fully managed platform with full vector database capabilities on MongoDB Atlas.
|
|
|
|
|
|
Store your operational data, metadata, and vector embeddings in oue VectorStore,
|
|
MongoDBAtlasVectorSearch.
|
|
Insert into a Chain via a Vector, FullText, or Hybrid Retriever.
|
|
"""
|
|
|
|
from langchain_mongodb.cache import MongoDBAtlasSemanticCache, MongoDBCache
|
|
from langchain_mongodb.chat_message_histories import MongoDBChatMessageHistory
|
|
from langchain_mongodb.vectorstores import MongoDBAtlasVectorSearch
|
|
|
|
__all__ = [
|
|
"MongoDBAtlasVectorSearch",
|
|
"MongoDBChatMessageHistory",
|
|
"MongoDBCache",
|
|
"MongoDBAtlasSemanticCache",
|
|
]
|