diff --git a/output/schema/schema.json b/output/schema/schema.json index dd3854adf6..158379de3a 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -153690,6 +153690,18 @@ } } }, + { + "description": "The platform architecture (if applicable) of the trained mode. If the model\nonly works on one platform, because it is heavily optimized for a particular\nprocessor architecture and OS combination, then this field specifies which.\nThe format of the string must match the platform identifiers used by Elasticsearch,\nso one of, `linux-x86_64`, `linux-aarch64`, `darwin-x86_64`, `darwin-aarch64`,\nor `windows-x86_64`. For portable models (those that work independent of processor\narchitecture or OS features), leave this field unset.", + "name": "platform_architecture", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, { "description": "An array of tags to organize the model.", "name": "tags", @@ -153754,7 +153766,7 @@ } } ], - "specLocation": "ml/put_trained_model/MlPutTrainedModelRequest.ts#L28-L96" + "specLocation": "ml/put_trained_model/MlPutTrainedModelRequest.ts#L28-L106" }, { "body": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 65a485072d..92f674c936 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -14236,6 +14236,7 @@ export interface MlPutTrainedModelRequest extends RequestBase { metadata?: any model_type?: MlTrainedModelType model_size_bytes?: long + platform_architecture?: string tags?: string[] } } diff --git a/specification/ml/put_trained_model/MlPutTrainedModelRequest.ts b/specification/ml/put_trained_model/MlPutTrainedModelRequest.ts index 8374b81ccd..4c5b5d0b7d 100644 --- a/specification/ml/put_trained_model/MlPutTrainedModelRequest.ts +++ b/specification/ml/put_trained_model/MlPutTrainedModelRequest.ts @@ -88,6 +88,16 @@ export interface Request extends RequestBase { * or the model definition is not supplied. */ model_size_bytes?: long + /** + * The platform architecture (if applicable) of the trained mode. If the model + * only works on one platform, because it is heavily optimized for a particular + * processor architecture and OS combination, then this field specifies which. + * The format of the string must match the platform identifiers used by Elasticsearch, + * so one of, `linux-x86_64`, `linux-aarch64`, `darwin-x86_64`, `darwin-aarch64`, + * or `windows-x86_64`. For portable models (those that work independent of processor + * architecture or OS features), leave this field unset. + */ + platform_architecture?: string /** * An array of tags to organize the model. */