Skip to content

Commit

Permalink
Integrate explainability for hybrid query into RRF processor (#1037)
Browse files Browse the repository at this point in the history
* Integrate explainability for hybrid query into RRF processor

Signed-off-by: Martin Gaievski <[email protected]>
  • Loading branch information
martin-gaievski committed Jan 10, 2025
1 parent 36b2e47 commit d68b296
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

import com.google.common.annotations.VisibleForTesting;
import lombok.Getter;
import org.opensearch.ml.repackage.com.google.common.annotations.VisibleForTesting;
import org.opensearch.neuralsearch.processor.combination.ScoreCombinationTechnique;
import org.opensearch.neuralsearch.processor.normalization.ScoreNormalizationTechnique;
import org.opensearch.search.fetch.FetchSearchResult;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,7 @@ protected void createRRFSearchPipeline(final String pipelineName, boolean addExp
if (addExplainResponseProcessor) {
builder.startArray("response_processors")
.startObject()
.startObject("explanation_response_processor")
.startObject("hybrid_score_explanation")
.endObject()
.endObject()
.endArray();
Expand Down

0 comments on commit d68b296

Please sign in to comment.