Skip to content

Commit 1185414

Browse files
authored
Amend chunking docs for semantic text (elastic#137963) (elastic#137968)
1 parent 10004b2 commit 1185414

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

docs/reference/elasticsearch/mapping-reference/semantic-text.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -169,23 +169,7 @@ If chunking settings are updated, they will not be applied to existing documents
169169
until they are reindexed.
170170
To completely disable chunking, use the `none` chunking strategy.
171171

172-
**Valid values for `chunking_settings`**:
173-
174-
`strategy`
175-
: Indicates the strategy of chunking strategy to use. Valid values are `none`, `word` or
176-
`sentence`. Required.
177-
178-
`max_chunk_size`
179-
: The maximum number of words in a chunk. Required for `word` and `sentence` strategies.
180-
181-
`overlap`
182-
: The number of overlapping words allowed in chunks. This cannot be defined as
183-
more than half of the `max_chunk_size`. Required for `word` type chunking
184-
settings.
185-
186-
`sentence_overlap`
187-
: The number of overlapping sentences allowed in chunks. Valid values are `0`
188-
or `1`. Required for `sentence` type chunking settings
172+
Settings for chunking text into smaller passages for scoring and reranking. Defaults to the optimal chunking settings for [Elastic Rerank](docs-content:///explore-analyze/machine-learning/nlp/ml-nlp-rerank.md). Refer to the [Inference API documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put#operation-inference-put-body-application-json-chunking_settings) for valid values for `chunking_settings`.
189173

190174
::::{warning}
191175
When using the `none` chunking strategy, if the input exceeds the maximum token

0 commit comments

Comments
 (0)