You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/reference.asciidoc
+12-1
Original file line number
Diff line number
Diff line change
@@ -7283,7 +7283,7 @@ To unset a version, replace the template without specifying one.
7283
7283
** *`create` (Optional, boolean)*: If true, this request cannot replace or update existing index templates.
7284
7284
** *`master_timeout` (Optional, string | -1 | 0)*: Period to wait for a connection to the master node. If no response is
7285
7285
received before the timeout expires, the request fails and returns an error.
7286
-
** *`cause` (Optional, string)*
7286
+
** *`cause` (Optional, string)*: User defined reason for creating/updating the index template
7287
7287
7288
7288
[discrete]
7289
7289
==== recovery
@@ -8093,6 +8093,17 @@ NOTE: The `chat_completion` task type only supports streaming and only through t
8093
8093
** *`service` (Enum("elastic"))*: The type of service supported for the specified task type. In this case, `elastic`.
8094
8094
** *`service_settings` ({ model_id, rate_limit })*: Settings used to install the inference model. These settings are specific to the `elastic` service.
returnawaitthis.transport.request({ path, method, querystring, body, meta },options)
340
+
}
341
+
309
342
/**
310
343
* Create an OpenAI inference endpoint. Create an inference endpoint to perform an inference task with the `openai` service. When you create an inference endpoint, the associated machine learning model is automatically deployed if it is not already running. After creating the endpoint, wait for the model deployment to complete before using it. To verify the deployment status, use the get trained model statistics API. Look for `"state": "fully_allocated"` in the response and ensure that the `"allocation_count"` matches the `"target_allocation_count"`. Avoid creating multiple endpoints for the same model unless required, as each endpoint consumes significant resources.
311
344
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.18/infer-service-openai.html | Elasticsearch API documentation}
0 commit comments