About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Nov 21, 2024
You can update an existing Decision Optimization model using the watsonx.ai Runtime REST API. This can be useful, for example, if in your model you have explicitly specified a Python version that has now become deprecated.
Before you begin
About this task
For Windows users, use ^ instead of \ for the multi-line separator and double quotation marks " throughout these code examples. Windows users also need to use indentation of at least one character space in the header lines.
For clarity, some code examples in this procedure have been placed in a json file to make the commands more readable and easier to use.
Procedure
To change Python version for an existing deployed model:
Results
You can post new jobs using the DEPLOYMENT-ID without having to redeploy your model.