Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added platform_architecture field to MlPutTrainedModelRequest to add … #2302

Merged
merged 3 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading