...
Code Block |
---|
moc iterative engine [--help] moc iterative engine <command> [--help] moc iterative engine reset [--help] moc iterative engine status [--help] moc iterative engine use <engine URL>URL|name> [--token] [--helpflags] |
Description
Use moc iterative engine
commands to interact with the ModelOp runtime. It has the following sub-commands that can be used:
...
Use this command to set the target ModelOp runtime. All the commands under the moc iterative
commands are run to the runtime set during this time. Set the target runtime using a URL pointing to ModelOp runtime engine or a name of a known engine set up using the moc init
command. If the engine is behind a secured gateway, use --token
flag to provide a JWT token that can be used for the authentication.
...
JWT token for authentication (If runtime is behind secured gateway)
Arguments
engine URL | name
Either a URL pointing to ModelOp Runtime or the name of a known runtime (set via moc init
)
Examples
Code Block |
---|
# Use a local runtime on port 8093 on an unsecured instance moc iterative engine use http://demo.modelop.centerlocalhost:8093 moc iterative engine use http://demo.modelop.center/engine-test # Use a local runtime on port 8093 using an OAuth token for a secured instance moc iterative engine use http://demo.modelop.centerlocalhost:8093 --token eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ # Use a runtime in a known instance (set up using the "moc init" command) moc iterative engine use engine-3 |
job
Synopsis
Code Block |
---|
moc iterative job [--help] moc iterative job <command> [--help] moc iterative job create <<batchjob | testjob | trainingjob | deployedbatch> <primary sourcecode> [additional model files]... <--input file> <--output file> [--schema-in] [--schema-out] [--help] |
...