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-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7287,7 +7287,7 @@ To unset a version, replace the template without specifying one.
7287
7287
** *`create` (Optional, boolean)*: If true, this request cannot replace or update existing index templates.
7288
7288
** *`master_timeout` (Optional, string | -1 | 0)*: Period to wait for a connection to the master node. If no response is
7289
7289
received before the timeout expires, the request fails and returns an error.
7290
-
** *`cause` (Optional, string)*
7290
+
** *`cause` (Optional, string)*: User defined reason for creating/updating the index template
7291
7291
7292
7292
[discrete]
7293
7293
==== recovery
@@ -8097,6 +8097,17 @@ NOTE: The `chat_completion` task type only supports streaming and only through t
8097
8097
** *`service` (Enum("elastic"))*: The type of service supported for the specified task type. In this case, `elastic`.
8098
8098
** *`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.x/infer-service-openai.html | Elasticsearch API documentation}
0 commit comments