From ee50108b64e63d4c500e7803d12f76ef155c33de Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 2 Sep 2024 18:41:02 -0700 Subject: [PATCH] comment out gif causing docs build fail --- .../docs/reference/Model Providers/watsonx.md | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/docs/docs/reference/Model Providers/watsonx.md b/docs/docs/reference/Model Providers/watsonx.md index 9e2a345d4..51fa76dbe 100644 --- a/docs/docs/reference/Model Providers/watsonx.md +++ b/docs/docs/reference/Model Providers/watsonx.md @@ -11,6 +11,7 @@ Accessing watsonx models can be done either through watsonx SaaS on IBM Cloud or To get started with watsonx SaaS, visit the [registration page](https://dataplatform.cloud.ibm.com/registration/stepone?context=wx). If you do not have an existing IBM Cloud account, you can sign up for a free trial. To authenticate to watsonx.ai SaaS with Continue, you will need to create a project and [setup an API key](https://www.ibm.com/docs/en/mas-cd/continuous-delivery?topic=cli-creating-your-cloud-api-key). Then, in continue: + - Set **watsonx URL** to your watsonx SaaS endpoint, e.g. `https://us-south.ml.cloud.ibm.com` for US South region. - Set **watsonx Project ID** to your watsonx project ID. - Set **watsonx API Key** to your watsonx API Key. @@ -18,21 +19,23 @@ To authenticate to watsonx.ai SaaS with Continue, you will need to create a proj ### watsonx.ai Software To authenticate to your watsonx.ai Software instance with Continue, you can use either `username/password` or `ZenApiKey` method: -1. *Option 1* (Recommended): using `ZenApiKey` authentication: - - Set **watsonx URL** to your watsonx software endpoint, e.g. `https://cpd-watsonx.apps.example.com`. - - Set **watsonx Project ID** to your watsonx project ID. - - Set **watsonx API Key** to your watsonx Zen API Key. To generate it: - 1. Log in to the CPD web client. - 2. From the toolbar, click your avatar. - 3. Click **Profile and settings**. - 4. Click **API key** > **Generate new key**. - 5. Click **Generate**. - 6. Click **Copy** and save your key somewhere safe. You cannot recover this key if you lose it. - 7. Generate your ZenApiKey by running the following command in your preferred terminal: `echo ":" | base64`, replacing `` with your CPD username and `` with the API Key you just created. -2. *Option 2*: using `username/password` authentication: - - Set **watsonx URL** to your watsonx software endpoint, e.g. `https://cpd-watsonx.apps.example.com`. - - Set **watsonx Project ID** to your watsonx project ID. - - Set **watsonx API Key** to your watsonx Username and Password using `username:password` as format. -## Usage -![usage-gif](../Model%20Providers/assets/watsonx1.gif) +1. _Option 1_ (Recommended): using `ZenApiKey` authentication: + - Set **watsonx URL** to your watsonx software endpoint, e.g. `https://cpd-watsonx.apps.example.com`. + - Set **watsonx Project ID** to your watsonx project ID. + - Set **watsonx API Key** to your watsonx Zen API Key. To generate it: + 1. Log in to the CPD web client. + 2. From the toolbar, click your avatar. + 3. Click **Profile and settings**. + 4. Click **API key** > **Generate new key**. + 5. Click **Generate**. + 6. Click **Copy** and save your key somewhere safe. You cannot recover this key if you lose it. + 7. Generate your ZenApiKey by running the following command in your preferred terminal: `echo ":" | base64`, replacing `` with your CPD username and `` with the API Key you just created. +2. _Option 2_: using `username/password` authentication: + - Set **watsonx URL** to your watsonx software endpoint, e.g. `https://cpd-watsonx.apps.example.com`. + - Set **watsonx Project ID** to your watsonx project ID. + - Set **watsonx API Key** to your watsonx Username and Password using `username:password` as format. + +