ml deployment compute-predictions
Run a synchronous deployment prediction with the specified identifier. If a 'serving_name' is used, it must match the 'serving_name' that is returned in the 'serving_urls'.
Syntax
cpd-cli ml deployment compute-predictions \
[--context=<catalog-project-or-space-id>] \
[--cpd-config=<cpd-config-location>] \
--deployment-id=<deployment-id-or-serving-name> \
--input-data=<input-data>\
[--jmes-query=<jmespath-query>] \
[--output=json|yaml|table] \
[--output-file=<output-file-location>] \
--profile=<cpd-profile-name> \
[--quiet] \
[--raw-output=true|false] \
[--verbose]
Arguments
The ml deployment compute-predictions
command has no arguments.
Options
Table 1: Command options
Option | Description |
---|---|
--context |
Specify the configuration context
name.
|
--cpd-config |
The Cloud Pak for Data
configuration location. For example,
$HOME/.cpd-cli/config.
|
--deployment-id |
Specify either the 'deployment_id'
that identifies the deployment or a 'serving_name' that allows a predefined URL to post a
prediction.
|
|
Display command
help.
|
--input-data |
Specify the input
data.
|
--jmes-query |
Provide a JMESPath query to
customize the output.
|
--output |
Specify an output
format.
|
--output-file |
Specify a file path where all
output is redirected.
|
--profile |
The name of the profile that you
created to store information about an instance of Cloud Pak for Data and your credentials for the
instance.
|
--quiet |
Suppress verbose
messages.
|
--raw-output |
When set to true, single values
are not surrounded by quotation marks in
JSON output
mode.
|
--verbose |
Logs include more detailed
messages.
|