Skip to content

Commit 421246d

Browse files
authored
Fix specification test errors (#136838) (#136867)
1 parent 999fac8 commit 421246d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

x-pack/plugin/inference/src/yamlRestTest/resources/rest-api-spec/test/inference/70_text_similarity_rank_retriever.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ setup:
746746
inference_text: "how often does the moon hide the sun?"
747747
field: semantic_text_field
748748
chunk_rescorer:
749-
chunk_size: 20
749+
size: 20
750750
chunking_settings:
751751
strategy: sentence
752752
max_chunk_size: 10
@@ -779,7 +779,7 @@ setup:
779779
inference_text: "how often does the moon hide the sun?"
780780
field: semantic_text_field
781781
chunk_rescorer:
782-
chunk_size: 20
782+
size: 20
783783
size: 10
784784

785785
- match: { hits.total.value: 2 }
@@ -814,7 +814,7 @@ setup:
814814
inference_text: "how often does the moon hide the sun?"
815815
field: semantic_text_field
816816
chunk_rescorer:
817-
chunk_rescorer: 20
817+
size: 20
818818
chunking_settings:
819819
max_chunk_size: 20
820820
size: 10

0 commit comments

Comments
 (0)