Preparing the Script
Download and prepare the yaml
Steps
- Download the latest .yaml file here
- Open the script and replace the Server and Watsonx Project ID:
server
servers:
- url: "https://YourWatsonxServer.cloud.ibm.com"
#Put your Watsonx Server URL between the quotes
project_id
properties:
project_id:
x-ibm-disable: true
x-ibm-show: false
type: string
#Update the default value to your project's Project ID
default: "<your project ID>"
#Put your project ID between the quotes
tip
To find your project ID in Watsonx, select to your project, click "Manage", and should be listed under "General" > "Details" > "Project ID"
-
Upload the script to your Watsonx Orchestrate instance
- Click the hamburger menu icon at the top left of the page, then click "Skills"
- Click "Add skills" at the top right of the page
- Click the "From files" tab
- Click the upload box and select the yaml file
- Click next
-
Select the skills you need from the API (see Provided Skills)
-
Click add on the bottom right
Each skill should now be available in your list of skills and are ready to be staged.
warning
Double check the version level in the path to ensure it matches your Watsonx version - See https://cloud.ibm.com/apidocs/machine-learning#versioning
If they do not match you may have to update the path query to the available version.
paths:
"/ml/v1-beta/generation/text?version=2023-05-29":