Skip to content

Conversation

mingshl
Copy link
Contributor

@mingshl mingshl commented Oct 1, 2025

Description

Add lateInteractionScore Function

Issues Resolved

Closes #11147

Version

List the OpenSearch version to which this PR applies, e.g. 2.14, 2.12--2.14, or all.

Frontend features

If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.

Checklist

  • By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
    For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Mingshi Liu <[email protected]>
Copy link

github-actions bot commented Oct 1, 2025

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged.

Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer.

When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review.

@kolchfa-aws kolchfa-aws added In progress Issue/PR: The issue or PR is in progress. release-notes PR: Include this PR in the automated release notes v3.3.0 labels Oct 2, 2025
@mingshl mingshl marked this pull request as ready for review October 3, 2025 02:15
@kolchfa-aws kolchfa-aws added Tech review PR: Tech review in progress and removed In progress Issue/PR: The issue or PR is in progress. labels Oct 6, 2025
Copy link
Contributor

@brianf-aws brianf-aws left a comment

Choose a reason for hiding this comment

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

This is really cool to see. Left 2 comments I agree with changes, let me know if you make changes so I can re-approve

mingshl and others added 2 commits October 7, 2025 09:24
@mingshl mingshl added Editorial review PR: Editorial review in progress and removed Tech review PR: Tech review in progress labels Oct 7, 2025
@mingshl
Copy link
Contributor Author

mingshl commented Oct 7, 2025

This is really cool to see. Left 2 comments I agree with changes, let me know if you make changes so I can re-approve

Thanks @brianf-aws Adapted your comments. @kolchfa-aws this PR is ready for editorial review.

@kolchfa-aws kolchfa-aws added Doc review PR: Doc review in progress and removed Editorial review PR: Editorial review in progress labels Oct 7, 2025
Signed-off-by: Fanit Kolchina <[email protected]>
Signed-off-by: Fanit Kolchina <[email protected]>

This hybrid approach balances speed and accuracy, making it suitable for production search systems. The response contains documents reranked based on their semantic similarity to the query, with late interaction scoring providing more nuanced relevance than traditional vector search alone:

<!-- include response -->
Copy link
Collaborator

Choose a reason for hiding this comment

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

@mingshl Could you add the response for the preceding request here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added response here

Signed-off-by: Fanit Kolchina <[email protected]>
Copy link
Collaborator

@natebower natebower left a comment

Choose a reason for hiding this comment

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

Editorial review

Copy link
Collaborator

@natebower natebower left a comment

Choose a reason for hiding this comment

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

LGTM

@mingshl
Copy link
Contributor Author

mingshl commented Oct 9, 2025

I tried different images but they generated too long base64 string, so I just took screenshot of the keywords, and convert the image as base64, so it's simple image containing text and it was able to to attach the full search response, I hope that is not too long to display.

This is the source of the images:

Screenshot 2025-10-09 at 3 33 20 PM Screenshot 2025-10-09 at 3 34 14 PM Screenshot 2025-10-09 at 3 34 48 PM

mingshl and others added 2 commits October 9, 2025 15:50
Signed-off-by: Mingshi Liu <[email protected]>
@kolchfa-aws kolchfa-aws removed Doc review PR: Doc review in progress Awaiting response labels Oct 10, 2025
@kolchfa-aws
Copy link
Collaborator

Thanks, @mingshl! Looks good.

@natebower natebower merged commit 2bcb93a into opensearch-project:main Oct 10, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes PR: Include this PR in the automated release notes v3.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOC] Introduce lateInteractionScore Function

4 participants