When a script is copied to a deployment space, you can deploy it for use. Supported script types are Python scripts. Batch deployment is the only supported deployment type for a script.
-
You must set up your task credentials by generating an API key to deploy scripts. For more information, see Managing task credentials.
-
When the script is promoted from a project, your software specification is included.
-
To deploy a script asset created with cpdctl, you must use the watsonx.ai Python client or watsonx.ai Runtime API. You can use the watsonx.ai Runtime API to
PATCH
the script asset so that theentity.language.name path
is in lowercase. For cpd-ctl versions 1.4.162 and earlier, you can select the software specifications from the deployment space user interface when creating a batch deployment for script assets.
Learn more
- To learn more about supported input and output types and setting environment variables, see Batch deployment details.
- To learn more about software specifications, see Software specifications and hardware specifications for deployments.
Parent topic: Managing predictive deployments