Skip to content

Commit a520c82

Browse files
author
Roy Derks
committed
Update env variable
1 parent 419bcaf commit a520c82

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

examples/agents/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,15 @@ Now that we’ve set up individual endpoints for customers, orders, and exchange
178178
```bash
179179
export STEPZEN_WATSONX_HOST=us-south.ml.cloud.ibm.com
180180
export STEPZEN_WATSONX_PROJECTID=
181-
export STEPZEN_WATSONX_AI_TOKEN=
181+
export STEPZEN_WATSONX_AI_APIKEY=
182182
```
183183

184184
To find your credentials:
185185

186186
- `STEPZEN_WATSONX_PROJECTID`: Get this from the *Manage* tab in your project.
187-
- `STEPZEN_WATSONX_AI_TOKEN`: Create an API key in IBM Cloud under *Manage > Access (IAM) > API keys*.
187+
- `STEPZEN_WATSONX_AI_APIKEY`: Create an API key in IBM Cloud under *Manage > Access (IAM) > API keys*.
188+
189+
> The use of `STEPZEN_WATSONX_AI_TOKEN` is deprecated since `wxflows 1.0.0rc189` and up. Please [update your CLI](https://wxflows.ibm.stepzen.com/docs/installation) when you're on an older version.
188190
189191
3. **Register the endpoints as agents** using the following command to register each endpoint and describe its functions:
190192

examples/rag-question-answer/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ To deploy the RAG flows, make sure to [install](https://watzen.ibm.stepzen.com/d
1313
STEPZEN_WATSONX_HOST=shared
1414

1515
# Your own watsonx.ai credentials (optionally)
16-
# STEPZEN_WATSONX_AI_TOKEN=
16+
# STEPZEN_WATSONX_AI_APIKEY=
1717
# STEPZEN_WATSONX_HOST=
1818
# STEPZEN_WATSONX_PROJECTID=
1919
```
2020

21+
> The use of `STEPZEN_WATSONX_AI_TOKEN` is deprecated since `wxflows 1.0.0rc189` and up. Please [update your CLI](https://wxflows.ibm.stepzen.com/docs/installation) when you're on an older version.
22+
2123
Extract the file `watsonxdocs.zip`, it contains a set of HTML documents that we'll prepare for upload to the vector database.
2224

2325
Run the command `wxflows init --interactive` and follow the steps, use `./watsonxdocs` as the data source and `watsonxdocs` as the collection name.

examples/webpage-summarization/.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# STEPZEN_MILVUS_USERNAME=
1111
# STEPZEN_VECTORSERVICES_ACCOUNT=
1212
# STEPZEN_VECTORSERVICES_APIKEY=
13-
# STEPZEN_WATSONX_AI_TOKEN=
13+
# STEPZEN_WATSONX_AI_APIKEY=
1414
# STEPZEN_WATSONX_HOST=
1515
# STEPZEN_WATSONX_PROJECTID=
1616
# STEPZEN_ZILLIS_API_KEY=

examples/webpage-summarization/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ To deploy the summarization flow, make sure to [install](https://watzen.ibm.step
1313
STEPZEN_WATSONX_HOST=shared
1414

1515
# Your own watsonx.ai credentials (optionally)
16-
# STEPZEN_WATSONX_AI_TOKEN=
16+
# STEPZEN_WATSONX_AI_APIKEY=
1717
# STEPZEN_WATSONX_HOST=
1818
# STEPZEN_WATSONX_PROJECTID=
1919
```
2020

21+
> The use of `STEPZEN_WATSONX_AI_TOKEN` is deprecated since `wxflows 1.0.0rc189` and up. Please [update your CLI](https://wxflows.ibm.stepzen.com/docs/installation) when you're on an older version.
22+
2123
Then you can run the command `wxflows deploy` to deploy your flows to a live endpoint.
2224

2325
## Run the example

0 commit comments

Comments
 (0)