Skip to content

Commit 04235fe

Browse files
authored
Amend chunking docs for semantic text (elastic#137963) (elastic#137969)
1 parent dd46432 commit 04235fe

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

132-
**Valid values for `chunking_settings`**:
133-
134-
`strategy`
135-
: Indicates the strategy of chunking strategy to use. Valid values are `none`, `word` or
136-
`sentence`. Required.
137-
138-
`max_chunk_size`
139-
: The maximum number of words in a chunk. Required for `word` and `sentence` strategies.
140-
141-
`overlap`
142-
: The number of overlapping words allowed in chunks. This cannot be defined as
143-
more than half of the `max_chunk_size`. Required for `word` type chunking
144-
settings.
145-
146-
`sentence_overlap`
147-
: The number of overlapping sentences allowed in chunks. Valid values are `0`
148-
or `1`. Required for `sentence` type chunking settings
132+
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`.
149133

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

0 commit comments

Comments
 (0)