langchain/libs/partners/mongodb/langchain_mongodb
Casey Clements 6e9a8b188f
mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057)
## 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>
2024-08-07 20:10:29 +00:00
..
retrievers mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057) 2024-08-07 20:10:29 +00:00
__init__.py mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057) 2024-08-07 20:10:29 +00:00
cache.py mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057) 2024-08-07 20:10:29 +00:00
chat_message_histories.py docs: Add MongoDBChatMessageHistory docstrings (#24608) 2024-07-24 10:12:44 -04:00
index.py mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057) 2024-08-07 20:10:29 +00:00
pipelines.py mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057) 2024-08-07 20:10:29 +00:00
py.typed mongodb[minor]: MongoDB Partner Package -- Porting MongoDBAtlasVectorSearch (#17652) 2024-02-29 23:09:48 +00:00
utils.py mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057) 2024-08-07 20:10:29 +00:00
vectorstores.py mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057) 2024-08-07 20:10:29 +00:00