Skip to content

Commit eee728f

Browse files
Added platform_architecture field to MlPutTrainedModelRequest to add … (#2302)
1 parent ed341e8 commit eee728f

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

output/schema/schema.json

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/put_trained_model/MlPutTrainedModelRequest.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ export interface Request extends RequestBase {
8888
* or the model definition is not supplied.
8989
*/
9090
model_size_bytes?: long
91+
/**
92+
* The platform architecture (if applicable) of the trained mode. If the model
93+
* only works on one platform, because it is heavily optimized for a particular
94+
* processor architecture and OS combination, then this field specifies which.
95+
* The format of the string must match the platform identifiers used by Elasticsearch,
96+
* so one of, `linux-x86_64`, `linux-aarch64`, `darwin-x86_64`, `darwin-aarch64`,
97+
* or `windows-x86_64`. For portable models (those that work independent of processor
98+
* architecture or OS features), leave this field unset.
99+
*/
100+
platform_architecture?: string
91101
/**
92102
* An array of tags to organize the model.
93103
*/

0 commit comments

Comments
 (0)