Skip to content

Commit 757dd4e

Browse files
authored
Amend chunking docs for semantic text (elastic#137963)
1 parent 44ff2de commit 757dd4e

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
@@ -281,23 +281,7 @@ If chunking settings are updated, they will not be applied to existing documents
281281
until they are reindexed.
282282
To completely disable chunking, use the `none` chunking strategy.
283283

284-
**Valid values for `chunking_settings`**:
285-
286-
`strategy`
287-
: Indicates the strategy of chunking strategy to use. Valid values are `none`, `word` or
288-
`sentence`. Required.
289-
290-
`max_chunk_size`
291-
: The maximum number of words in a chunk. Required for `word` and `sentence` strategies.
292-
293-
`overlap`
294-
: The number of overlapping words allowed in chunks. This cannot be defined as
295-
more than half of the `max_chunk_size`. Required for `word` type chunking
296-
settings.
297-
298-
`sentence_overlap`
299-
: The number of overlapping sentences allowed in chunks. Valid values are `0`
300-
or `1`. Required for `sentence` type chunking settings
284+
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`.
301285

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

0 commit comments

Comments
 (0)