Deploying scripts

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 the entity.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

Parent topic: Managing predictive deployments