From 91e10a607b3ed3608295e4c889f2ff93c16f367c Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Thu, 16 Nov 2023 06:03:24 +0000 Subject: [PATCH] Auto-generated API code --- docs/reference.asciidoc | 1 + src/api/types.ts | 1 + src/api/typesWithBodyKey.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index e7263f4be..906475838 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -6355,6 +6355,7 @@ client.ml.startTrainedModelDeployment({ model_id }) ** *`cache_size` (Optional, number | string)*: The inference cache size (in memory outside the JVM heap) per node for the model. The default value is the same size as the `model_size_bytes`. To disable the cache, `0b` can be provided. +** *`deployment_id` (Optional, string)*: A unique identifier for the deployment of the model. ** *`number_of_allocations` (Optional, number)*: The number of model allocations on each node where the model is deployed. All allocations on a node share the same copy of the model in memory but use a separate set of threads to evaluate the model. diff --git a/src/api/types.ts b/src/api/types.ts index 4f42e4578..83a5ce871 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -14087,6 +14087,7 @@ export interface MlStartDatafeedResponse { export interface MlStartTrainedModelDeploymentRequest extends RequestBase { model_id: Id cache_size?: ByteSize + deployment_id?: string number_of_allocations?: integer priority?: MlTrainingPriority queue_capacity?: integer diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index 18be759c2..194c5645c 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -14356,6 +14356,7 @@ export interface MlStartDatafeedResponse { export interface MlStartTrainedModelDeploymentRequest extends RequestBase { model_id: Id cache_size?: ByteSize + deployment_id?: string number_of_allocations?: integer priority?: MlTrainingPriority queue_capacity?: integer