@@ -111,13 +111,13 @@ the [Create {{infer}} API](https://www.elastic.co/docs/api/doc/elasticsearch/ope
111
111
to create the endpoint. If not specified, the {{infer}} endpoint defined by
112
112
` inference_id ` will be used at both index and query time.
113
113
114
- ` index_options `
114
+ ` index_options ` {applies_to} ` stack: ga 9.1 `
115
115
: (Optional, object) Specifies the index options to override default values
116
116
for the field. Currently, ` dense_vector ` index options are supported.
117
117
For text embeddings, ` index_options ` may match any allowed
118
118
[ dense_vector index options] ( /reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-index-options ) .
119
119
120
- ` chunking_settings `
120
+ ` chunking_settings ` {applies_to} ` stack: ga 9.1 `
121
121
: (Optional, object) Settings for chunking text into smaller passages.
122
122
If specified, these will override the chunking settings set in the {{infer-cap}}
123
123
endpoint associated with ` inference_id ` .
@@ -127,8 +127,8 @@ To completely disable chunking, use the `none` chunking strategy.
127
127
128
128
**Valid values for `chunking_settings`**:
129
129
130
- `type `
131
- : Indicates the type of chunking strategy to use. Valid values are `none`, `word` or
130
+ `strategy `
131
+ : Indicates the strategy of chunking strategy to use. Valid values are `none`, `word` or
132
132
`sentence`. Required.
133
133
134
134
`max_chunk_size`
@@ -144,7 +144,8 @@ To completely disable chunking, use the `none` chunking strategy.
144
144
or `1`. Required for `sentence` type chunking settings
145
145
146
146
::::{warning}
147
- When using the ` none ` chunking strategy, if the input exceeds the maximum token limit of the underlying model, some
147
+ When using the ` none ` chunking strategy, if the input exceeds the maximum token
148
+ limit of the underlying model, some
148
149
services (such as OpenAI) may return an
149
150
error. In contrast, the ` elastic ` and ` elasticsearch ` services will
150
151
automatically truncate the input to fit within the
@@ -295,7 +296,8 @@ automatic {{infer}} and a dedicated query so you don’t need to provide further
295
296
details.
296
297
297
298
If you want to override those defaults and customize the embeddings that
298
- ` semantic_text ` indexes, you can do so by modifying [ parameters] ( #semantic-text-params ) :
299
+ ` semantic_text ` indexes, you can do so by
300
+ modifying [ parameters] ( #semantic-text-params ) :
299
301
300
302
- Use ` index_options ` to specify alternate index options such as specific
301
303
` dense_vector ` quantization methods
0 commit comments