Skip to content

Commit

Permalink
Added platform_architecture field to MlPutTrainedModelRequest to add … (
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhniebergall authored Oct 3, 2023
1 parent ed341e8 commit eee728f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
14 changes: 13 additions & 1 deletion output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions specification/ml/put_trained_model/MlPutTrainedModelRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit eee728f

Please sign in to comment.