mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-07 14:03:26 +00:00
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>