Skip to content

Commit

Permalink
fix compil
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed May 23, 2024
1 parent 5a78055 commit 0a36b0a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ private static Mapper.Builder createEmbeddingsField(IndexVersion indexVersionCre
case TEXT_EMBEDDING -> {
DenseVectorFieldMapper.Builder denseVectorMapperBuilder = new DenseVectorFieldMapper.Builder(
CHUNKED_EMBEDDINGS_FIELD,
indexVersionCreated
indexVersionCreated,
1
);
SimilarityMeasure similarity = modelSettings.similarity();
if (similarity != null) {
Expand Down

0 comments on commit 0a36b0a

Please sign in to comment.