Skip to content

Commit

Permalink
Merge branch 'main' into pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
vibrantvarun committed Jan 10, 2025
2 parents 5e04772 + b4cb267 commit 5b9a1bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@AllArgsConstructor
public class ExplanationResponseProcessor implements SearchResponseProcessor {

public static final String TYPE = "explanation_response_processor";
public static final String TYPE = "hybrid_score_explanation";

private final String description;
private final String tag;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private static void assertProcessor(SearchResponseProcessor responseProcessor, S
assertNotNull(responseProcessor);
assertTrue(responseProcessor instanceof ExplanationResponseProcessor);
ExplanationResponseProcessor explanationResponseProcessor = (ExplanationResponseProcessor) responseProcessor;
assertEquals("explanation_response_processor", explanationResponseProcessor.getType());
assertEquals("hybrid_score_explanation", explanationResponseProcessor.getType());
assertEquals(tag, explanationResponseProcessor.getTag());
assertEquals(description, explanationResponseProcessor.getDescription());
assertEquals(ignoreFailure, explanationResponseProcessor.isIgnoreFailure());
Expand Down

0 comments on commit 5b9a1bd

Please sign in to comment.