Skip to content

Commit cbe2ab0

Browse files
authored
Update README and example notebooks to reflect IBM Watsonx branding a… (#949)
Update README and example notebooks to reflect IBM Watsonx branding and improve links. Adjust Python version requirement in README. Fix formatting inconsistencies across notebooks.
1 parent 0a12b59 commit cbe2ab0

File tree

4 files changed

+24
-25
lines changed

4 files changed

+24
-25
lines changed

examples/watsonx_examples/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# IBM Watson.x AI Examples with AgentOps
1+
# IBM Watsonx AI Examples with AgentOps
22

33
This directory contains examples of using IBM Watson.x AI with AgentOps instrumentation for various natural language processing tasks.
44

55
## Prerequisites
66

7-
- IBM Watson.x AI account with API key
8-
- Python 3.10+
7+
- IBM Watsonx AI account with API key
8+
- Python >=3.10 <3.13
99
- Install required dependencies:
1010
```
1111
pip install agentops ibm-watsonx-ai python-dotenv
@@ -25,16 +25,15 @@ WATSONX_PROJECT_ID=your-project-id-here
2525

2626
### 1. Basic Text Generation and Chat Completion
2727

28-
File: `watsonx-example-text-and-chat.ipynb`
29-
28+
File: [watsonx-text-chat.ipynb](https://github.com/AgentOps-AI/agentops/blob/0.4.9/examples/watsonx_examples/watsonx-text-chat.ipynb)
3029
This notebook demonstrates:
3130
- Basic text generation with IBM Watson.x AI
3231
- Chat completion with system and user messages
3332
- Multiple examples of chat interactions
3433

3534
### 2. Streaming Generation
3635

37-
File: `watsonx-example-streaming.ipynb`
36+
File: [watsonx-streaming.ipynb](https://github.com/AgentOps-AI/agentops/blob/0.4.9/examples/watsonx_examples/watsonx-streaming.ipynb)
3837

3938
This notebook demonstrates:
4039
- Streaming text generation
@@ -43,7 +42,7 @@ This notebook demonstrates:
4342

4443
### 3. Tokenization and Model Details
4544

46-
File: `watsonx-example-tokenization-model.ipynb`
45+
File: [watsonx-tokenization-model.ipynb](https://github.com/AgentOps-AI/agentops/blob/0.4.9/examples/watsonx_examples/watsonx-tokeniation-model.ipynb)
4746

4847
This notebook demonstrates:
4948
- Tokenizing text with IBM Watson.x AI models

examples/watsonx_examples/watsonx-streaming.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# IBM Watson.x AI Streaming with AgentOps\n",
7+
"# IBM Watsonx AI Streaming with AgentOps\n",
88
"\n",
9-
"This notebook demonstrates how to use IBM Watson.x AI for streaming text generation and streaming chat completion with AgentOps instrumentation."
9+
"This notebook demonstrates how to use IBM Watsonx AI for streaming text generation and streaming chat completion with AgentOps instrumentation."
1010
]
1111
},
1212
{
@@ -41,9 +41,9 @@
4141
"cell_type": "markdown",
4242
"metadata": {},
4343
"source": [
44-
"## Initialize IBM Watson.x AI Credentials\n",
44+
"## Initialize IBM Watsonx AI Credentials\n",
4545
"\n",
46-
"To use IBM Watson.x AI, you need to set up your credentials and project ID."
46+
"To use IBM Watsonx AI, you need to set up your credentials and project ID."
4747
]
4848
},
4949
{
@@ -59,7 +59,7 @@
5959
" api_key=os.getenv(\"WATSONX_API_KEY\", \"your-api-key-here\"),\n",
6060
")\n",
6161
"\n",
62-
"# Project ID for your IBM Watson.x project\n",
62+
"# Project ID for your IBM Watsonx project\n",
6363
"project_id = os.getenv(\"WATSONX_PROJECT_ID\", \"your-project-id-here\")"
6464
]
6565
},
@@ -99,7 +99,7 @@
9999
"source": [
100100
"## Streaming Text Generation\n",
101101
"\n",
102-
"Let's use IBM Watson.x AI to generate streaming text:"
102+
"Let's use IBM Watsonx AI to generate streaming text:"
103103
]
104104
},
105105
{

examples/watsonx_examples/watsonx-text-chat.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# IBM Watson.x AI Text Generation and Chat with AgentOps\n",
7+
"# IBM Watsonx AI Text Generation and Chat with AgentOps\n",
88
"\n",
9-
"This notebook demonstrates how to use IBM Watson.x AI for basic text generation and chat completion tasks with AgentOps instrumentation."
9+
"This notebook demonstrates how to use IBM Watsonx AI for basic text generation and chat completion tasks with AgentOps instrumentation."
1010
]
1111
},
1212
{
@@ -41,9 +41,9 @@
4141
"cell_type": "markdown",
4242
"metadata": {},
4343
"source": [
44-
"## Initialize IBM Watson.x AI Credentials\n",
44+
"## Initialize IBM Watsonx AI Credentials\n",
4545
"\n",
46-
"To use IBM Watson.x AI, you need to set up your credentials and project ID."
46+
"To use IBM Watsonx AI, you need to set up your credentials and project ID."
4747
]
4848
},
4949
{
@@ -59,7 +59,7 @@
5959
" api_key=os.getenv(\"WATSONX_API_KEY\", \"your-api-key-here\"),\n",
6060
")\n",
6161
"\n",
62-
"# Project ID for your IBM Watson.x project\n",
62+
"# Project ID for your IBM Watsonx project\n",
6363
"project_id = os.getenv(\"WATSONX_PROJECT_ID\", \"your-project-id-here\")"
6464
]
6565
},
@@ -69,7 +69,7 @@
6969
"source": [
7070
"## Text Generation\n",
7171
"\n",
72-
"Let's use IBM Watson.x AI to generate text based on a prompt:"
72+
"Let's use IBM Watsonx AI to generate text based on a prompt:"
7373
]
7474
},
7575
{

examples/watsonx_examples/watsonx-tokeniation-model.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# IBM Watson.x AI Tokenization and Model Details with AgentOps\n",
7+
"# IBM Watsonx AI Tokenization and Model Details with AgentOps\n",
88
"\n",
9-
"This notebook demonstrates how to use IBM Watson.x AI for tokenization and retrieving model details with AgentOps instrumentation."
9+
"This notebook demonstrates how to use IBM Watsonx AI for tokenization and retrieving model details with AgentOps instrumentation."
1010
]
1111
},
1212
{
@@ -41,9 +41,9 @@
4141
"cell_type": "markdown",
4242
"metadata": {},
4343
"source": [
44-
"## Initialize IBM Watson.x AI Credentials\n",
44+
"## Initialize IBM Watsonx AI Credentials\n",
4545
"\n",
46-
"To use IBM Watson.x AI, you need to set up your credentials and project ID."
46+
"To use IBM Watsonx AI, you need to set up your credentials and project ID."
4747
]
4848
},
4949
{
@@ -59,7 +59,7 @@
5959
" api_key=os.getenv(\"WATSONX_API_KEY\", \"your-api-key-here\"),\n",
6060
")\n",
6161
"\n",
62-
"# Project ID for your IBM Watson.x project\n",
62+
"# Project ID for your IBM Watsonx project\n",
6363
"project_id = os.getenv(\"WATSONX_PROJECT_ID\", \"your-project-id-here\")"
6464
]
6565
},
@@ -92,7 +92,7 @@
9292
"source": [
9393
"## Tokenization\n",
9494
"\n",
95-
"Let's use IBM Watson.x AI to tokenize text:"
95+
"Let's use IBM Watsonx AI to tokenize text:"
9696
]
9797
},
9898
{

0 commit comments

Comments
 (0)