You can deploy your AI assets in watsonx.ai Runtime programmatically by using watsonx.ai Python client library, watsonx.ai Runtime API, and IBM Cloud Pak for Data Command Line Interface (IBM cpdctl).
Deploying assets with watsonx.ai Python client library
Copy link to section
Use the watsonx.ai Python client library to work with traditional machine learning and generative AI assets to train, store, and deploy your models. You can score your models by using the APIs and integrate them with your application deployment.
To learn more about the installation, setup, and usage, see ibm-watsonx-ai library documentation.
You can use the watsonx.ai API, watsonx.ai Runtime API, and Data and AI Common Core API to build models and deploy them for use in applications. Choose from tools that fully automate the training process for rapid prototyping to tools that give
you complete control to create a model that matches your needs. You can access the watsonx.ai Runtime REST API from the Python client library.
Use the watsonx.ai API to deploy foundation models, prompts, embeddings, and more. For more information, see watsonx.ai API documentation.
Use the watsonx.ai Runtime API to deploy AutoAI experiments, models, trainings, and pipelines and more.
Use the Data and AI Common Core API to deploy and manage data-related assets such as assets, catalogs, environments, hardware specifications, software specifications, runtime definitions, and more.
Deploying assets with IBM Cloud Pak for Data Command Line Interface
Copy link to section
Use the IBM Cloud Pak for Data Command Line Interface (cpdctl) to manage the configuration settings and automate the lifecycle of AI assets. You can create or delete projects, change project hardware and software specifications, update package
extensions, and manage access. You can also prepare and manage data assets and connections, create experiments, deploy models, and create pipelines.
You must authenticate to use watsonx.ai Runtime securely by using a token or credentials. The preferred method to authenticate with a token is by using ZenApiKey. If you are not storing your notebook within watsonx.ai Studio, you can bypass
retrieving a token and authenticate with your Cloud Pak for Data credentials.
About cookies on this siteOur 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 cookie preferences 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.