Skip to content

Commit

Permalink
docs: Rename auth method in IBM docs (#7524)
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipZmijewski authored Jan 18, 2025
1 parent e1c8212 commit 08f1a46
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions docs/core_docs/docs/integrations/chat/ibm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"| Class | Package | Local | Serializable | [PY support](https://python.langchain.com/docs/integrations/chat/ibm_watsonx/) | Package downloads | Package latest |\n",
"| :--- | :--- | :---: | :---: | :---: | :---: | :---: |\n",
"| [`ChatWatsonx`](https://api.js.langchain.com/classes/_langchain_community.chat_models_ibm.ChatWatsonx.html) | [@langchain/community](https://www.npmjs.com/package/@langchain/community) | ❌ | ✅ | ✅ | ![NPM - Downloads](https://img.shields.io/npm/dm/@langchain/community?style=flat-square&label=%20&) | ![NPM - Version](https://img.shields.io/npm/v/@langchain/community?style=flat-square&label=%20&) |\n",

"\n",
"### Model features\n",
"\n",
Expand Down Expand Up @@ -61,7 +60,7 @@
"export WATSONX_AI_BEARER_TOKEN=<YOUR-BEARER-TOKEN>\n",
"```\n",
"\n",
"#### CP4D authentication\n",
"#### IBM watsonx.ai software authentication\n",
"\n",
"```bash\n",
"export WATSONX_AI_AUTH_TYPE=cp4d\n",
Expand Down Expand Up @@ -104,7 +103,7 @@
"const instance = new WatsonxLLM(props);\n",
"```\n",
"\n",
"### CP4D authentication\n",
"### IBM watsonx.ai software authentication\n",
"\n",
"```typescript\n",
"import { WatsonxLLM } from \"@langchain/community/llms/ibm\";\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"export WATSONX_AI_BEARER_TOKEN=<YOUR-BEARER-TOKEN>\n",
"```\n",
"\n",
"#### CP4D authentication\n",
"#### IBM watsonx.ai software authentication\n",
"\n",
"```bash\n",
"export WATSONX_AI_AUTH_TYPE=cp4d\n",
Expand Down Expand Up @@ -96,7 +96,7 @@
"const instance = new WatsonxLLM(props);\n",
"```\n",
"\n",
"### CP4D authentication\n",
"### IBM watsonx.ai software authentication\n",
"\n",
"```typescript\n",
"import { WatsonxLLM } from \"@langchain/community/llms/ibm\";\n",
Expand Down
4 changes: 2 additions & 2 deletions docs/core_docs/docs/integrations/llms/ibm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"export WATSONX_AI_BEARER_TOKEN=<YOUR-BEARER-TOKEN>\n",
"```\n",
"\n",
"#### CP4D authentication\n",
"#### IBM watsonx.ai software authentication\n",
"\n",
"```bash\n",
"export WATSONX_AI_AUTH_TYPE=cp4d\n",
Expand Down Expand Up @@ -99,7 +99,7 @@
"const instance = new WatsonxLLM(props);\n",
"```\n",
"\n",
"### CP4D authentication\n",
"### IBM watsonx.ai software authentication\n",
"\n",
"```typescript\n",
"import { WatsonxLLM } from \"@langchain/community/llms/ibm\";\n",
Expand Down
4 changes: 2 additions & 2 deletions docs/core_docs/docs/integrations/text_embedding/ibm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"export WATSONX_AI_BEARER_TOKEN=<YOUR-BEARER-TOKEN>\n",
"```\n",
"\n",
"#### CP4D authentication\n",
"#### IBM watsonx.ai software authentication\n",
"\n",
"```bash\n",
"export WATSONX_AI_AUTH_TYPE=cp4d\n",
Expand Down Expand Up @@ -98,7 +98,7 @@
"const instance = new WatsonxEmbeddings(props);\n",
"```\n",
"\n",
"### CP4D authentication\n",
"### IBM watsonx.ai software authentication\n",
"\n",
"```typescript\n",
"import { WatsonxEmbeddings } from \"@langchain/community/embeddings/ibm\";\n",
Expand Down

0 comments on commit 08f1a46

Please sign in to comment.