comment out gif causing docs build fail

This commit is contained in:
Nate 2024-09-02 18:41:02 -07:00
parent 1d8b41c2f1
commit ee50108b64

View file

@ -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 "<username>:<apikey>" | base64`, replacing `<username>` with your CPD username and `<apikey>` 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 "<username>:<apikey>" | base64`, replacing `<username>` with your CPD username and `<apikey>` 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) -->