stack es ml put-trained-model-definition-part cli command
Auth required
Idempotent
Scope: global
elastic stack es ml put-trained-model-definition-part \
--model-id <model-id> \
--part <part> \
--definition <definition> \
--total-definition-length <total-definition-length> \
--total-parts <total-parts> \
[options]
Create part of a trained model definition.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--model-idstringrequired- The unique identifier of the trained model.
--partnumberrequired- The definition part number. When the definition is loaded for inference the definition parts are streamed in the order of their part number. The first part must be
0and the final part must betotal_parts - 1. --definitionstringrequired- The definition part for the model. Must be a base64 encoded string.
--total-definition-lengthnumberrequired- The total uncompressed definition length in bytes. Not base64 encoded.
--total-partsnumberrequired- The total number of parts that will be uploaded. Must be greater than 0.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON