File tree Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ include::inference-shared.asciidoc[tag=task-type]
3333--
3434Available task types:
3535
36- * `chat_completion`,
37- * `sparse_embedding`.
36+ * `chat_completion`
3837--
3938
4039[NOTE]
@@ -49,6 +48,7 @@ include::inference-shared.asciidoc[tag=chat-completion-docs]
4948==== {api-request-body-title}
5049
5150
51+
5252`max_chunk_size`:::
5353(Optional, integer)
5454include::inference-shared.asciidoc[tag=chunking-settings-max-chunking-size]
@@ -93,22 +93,6 @@ include::inference-shared.asciidoc[tag=request-per-minute-example]
9393[[inference-example-elastic]]
9494==== Elastic {infer-cap} Service example
9595
96-
97- The following example shows how to create an {infer} endpoint called `elser-model-eis` to perform a `text_embedding` task type.
98-
99- [source,console]
100- ------------------------------------------------------------
101- PUT _inference/sparse_embedding/elser-model-eis
102- {
103- "service": "elastic",
104- "service_settings": {
105- "model_name": "elser"
106- }
107- }
108-
109- ------------------------------------------------------------
110- // TEST[skip:TBD]
111-
11296The following example shows how to create an {infer} endpoint called `chat-completion-endpoint` to perform a `chat_completion` task type.
11397
11498[source,console]
@@ -117,7 +101,7 @@ PUT /_inference/chat_completion/chat-completion-endpoint
117101{
118102 "service": "elastic",
119103 "service_settings": {
120- "model_id": "model-1 "
104+ "model_id": "rainbow-sprinkles "
121105 }
122106}
123107------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments