The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp models Command¶

Syntax:

mdsp models

Help:

mdsp models --help

Alternative form:

mc models

(The CLI was using mc as default command name in older versions)

Description¶

list, create or delete analytic models *

Usage¶

Parameter list:

Usage: mdsp models|ml [options]

list, create or delete analytic models *

Options:
 -m, --mode [list|create|delete|update|info|download|template] mode [list | create | delete | update | info | download| template] (default:
 "list")
 -n, --modelname modelname
 -t, --modeltype modeltype
 -d, --modeldesc modeldesc (default: "created with Insights Hub CLI")
 -i, --modelid Insights Hub model id
 -f, --metadata model metadata file (default: "model.metadata.mdsp.json")
 -r, --version model version for download (default: "last")
 -p, --payload model payload file (default: "model.payload.mdsp.json")
 -i, --modelid Insights Hub model id
 -a, --modelauthor model author (default: "created by Insights Hub CLI")
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples¶

Here are some examples of how to use the mdsp models command:

 Examples:

 mdsp models --mode template --modeltype core.basicmodel --modelname MyModel creates a template for model
 mdsp models --mode create --metadata model.metadata.mdsp.json --payload model.payload.mdsp.json 
 creates a model from specified files
 mdsp models --mode list lists all models in Insights Hub
 mdsp models --mode delete --modelid 1234567..ef deletes model with specified id
 mdsp models --mode info --modelid 123456...ef print out infos about model with id 132456...ef
 mdsp models --mode download --modelid 123456...ef download model with id 132456...ef

See Insights Hub API documentation for more information about Insights Hub APIs.