Add KendraRankingResponseProcessor#137
Merged
msfroh merged 4 commits intoopensearch-project:mainfrom May 25, 2023
Merged
Conversation
msfroh
reviewed
May 15, 2023
.../relevance/transformer/kendraintelligentranking/pipeline/KendraRankingResponseProcessor.java
Outdated
Show resolved
Hide resolved
msfroh
reviewed
May 15, 2023
...vance/transformer/kendraintelligentranking/pipeline/KendraRankingResponseProcessorTests.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #137 +/- ##
============================================
+ Coverage 82.05% 82.54% +0.49%
- Complexity 293 303 +10
============================================
Files 41 42 +1
Lines 1131 1180 +49
Branches 139 143 +4
============================================
+ Hits 928 974 +46
- Misses 127 130 +3
Partials 76 76
|
msfroh
approved these changes
May 24, 2023
Signed-off-by: Mingshi Liu <mingshl@amazon.com>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
May 25, 2023
* Add KendraRankingResponseProcessor Signed-off-by: Mingshi Liu <mingshl@amazon.com> * Add KendraIntelligentClientTestCase Signed-off-by: Mingshi Liu <mingshl@amazon.com> --------- Signed-off-by: Mingshi Liu <mingshl@amazon.com> (cherry picked from commit a698a3c)
mingshl
added a commit
that referenced
this pull request
May 25, 2023
* Add KendraRankingResponseProcessor Signed-off-by: Mingshi Liu <mingshl@amazon.com> * Add KendraIntelligentClientTestCase Signed-off-by: Mingshi Liu <mingshl@amazon.com> --------- Signed-off-by: Mingshi Liu <mingshl@amazon.com> (cherry picked from commit a698a3c) Co-authored-by: Mingshi Liu <113382730+mingshl@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add a KendraRankingResponseProcessor to enable creating a pipeline using
kendra-ranking:In this PR, users can create a pipeline with
kendra-rankingresponse processor, and use the pipeline for searching:sample command:
test-kendratest-kendrawith normal query, for example match query:Issues Resolved
#7158
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.