Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Dec 5, 2024
1 parent 0a20ad4 commit a832939
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,14 @@ public QueryBuilder semanticQuery(InferenceResults inferenceResults, Integer req
}

TextExpansionResults textExpansionResults = (TextExpansionResults) inferenceResults;
yield new SparseVectorQueryBuilder(inferenceResultsFieldName, textExpansionResults.getWeightedTokens(), null, null, null, null);
yield new SparseVectorQueryBuilder(
inferenceResultsFieldName,
textExpansionResults.getWeightedTokens(),
null,
null,
null,
null
);
}
case TEXT_EMBEDDING -> {
if (inferenceResults instanceof MlTextEmbeddingResults == false) {
Expand Down

0 comments on commit a832939

Please sign in to comment.