langchain/libs/partners/mongodb/langchain_mongodb
Krishna Kulkarni c6c508ee96
Refining Skip Count Calculation by Filtering Documents with session_id (#26020)
In the previous implementation, `skip_count` was counting all the
documents in the collection. Instead, we want to filter the documents by
`session_id` and calculate `skip_count` by subtracting `history_size`
from the filtered count.

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
2024-09-20 23:40:56 +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 Refining Skip Count Calculation by Filtering Documents with session_id (#26020) 2024-09-20 23:40:56 +00: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 partners: Use simsimd types (#25299) 2024-08-23 10:41:39 -04:00
vectorstores.py mongodb: Add Hybrid and Full-Text Search Retrievers, release 0.2.0 (#25057) 2024-08-07 20:10:29 +00:00