Skip to content

Conversation

@aclark4life
Copy link
Collaborator

@aclark4life aclark4life commented Nov 18, 2025

Add weight argument

Issue Key

Summary

Backporting changes from langchain-mongodb

Changes in this PR

reciprocal_rank_stage moved from langchain-mongodb to here

Test Plan

Ran the langchaing-mongodb tests

Checklist

Checklist for Author

  • Did you update the changelog (if necessary)?
  • Is the intention of the code captured in relevant tests?
  • If there are new TODOs, has a related JIRA ticket been created?

Checklist for Reviewer {@primary_reviewer}

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Have you checked for spelling & grammar errors?
  • Is all relevant documentation (README or docstring) updated?

Add weight argument
Copy link
Collaborator

@sleepyStick sleepyStick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes look good, but i think the tests need to be updated?

Update reciprocal_rank_stage tests to work with new reciprocal_rank_stage.
@sleepyStick sleepyStick changed the title Update reciprocal_rank_stage INTPYTHON-752 Update reciprocal_rank_stage Nov 18, 2025
Copy link
Collaborator

@sleepyStick sleepyStick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aclark4life aclark4life merged commit 7dde566 into mongodb-labs:main Nov 18, 2025
14 checks passed
@aclark4life aclark4life deleted the INTPYTHON-752 branch November 18, 2025 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants