Skip to content

Commit

Permalink
docs(community): remove docs for Watsonx IBM deprecated implementation (
Browse files Browse the repository at this point in the history
#7306)

Co-authored-by: jacoblee93 <[email protected]>
  • Loading branch information
FilipZmijewski and jacoblee93 authored Jan 9, 2025
1 parent 60335e0 commit bd89717
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 66 deletions.
16 changes: 8 additions & 8 deletions docs/core_docs/docs/integrations/document_compressors/ibm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@
"\n",
"## Overview\n",
"\n",
"This will help you getting started with the [Watsonx document compressor](/docs/concepts/#document_compressors). For detailed documentation of all Watsonx document compressor features and configurations head to the [API reference]https://api.js.langchain.com/modules/_langchain_community.document_compressors_ibm.WatsonxRerank.html).\n",
"This will help you getting started with the [Watsonx document compressor](/docs/concepts/#document_compressors). For detailed documentation of all Watsonx document compressor features and configurations head to the [API reference](https://api.js.langchain.com/modules/_langchain_community.document_compressors_ibm.html).\n",
"\n",
"### Integration details\n",
"\n",
"| Class | Package | [PY support](https://python.langchain.com/docs/integrations/llms/ibm_watsonx/) | Package downloads | Package latest |\n",
"| Class | Package | [PY support](https://python.langchain.com/docs/integrations/retrievers/ibm_watsonx_ranker/) | Package downloads | Package latest |\n",
"| :--- | :--- | :---: | :---: | :---: |\n",
"| [`WatsonxRerank`](https://api.js.langchain.com/modules/_langchain_community.document_compressors_ibm.WatsonxRerank.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",
"| [`WatsonxRerank`](https://api.js.langchain.com/classes/_langchain_community.document_compressors_ibm.WatsonxRerank.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",
"## Setup\n",
"\n",
Expand Down Expand Up @@ -159,7 +159,7 @@
" version: \"2024-05-31\",\n",
" serviceUrl: process.env.WATSONX_AI_SERVICE_URL,\n",
" projectId: process.env.WATSONX_AI_PROJECT_ID,\n",
" model: \"ibm/slate-125m-english-rtrvr\",\n",
" model: \"cross-encoder/ms-marco-minilm-l-12-v2\",\n",
"});"
]
},
Expand All @@ -181,7 +181,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "51a60dbe-9f2e-4e04-bb62-23968f17164a",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -266,7 +266,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "fad30397",
"metadata": {},
"outputs": [
Expand All @@ -290,7 +290,7 @@
" version: \"2024-05-31\",\n",
" serviceUrl: process.env.WATSONX_AI_SERVICE_URL,\n",
" projectId: process.env.WATSONX_AI_PROJECT_ID,\n",
" model: \"ibm/slate-125m-english-rtrvr\",\n",
" model: \"cross-encoder/ms-marco-minilm-l-12-v2\",\n",
"});\n",
"const compressed = await reranker.rerank(result, query);\n",
"console.log(compressed);"
Expand Down Expand Up @@ -363,7 +363,7 @@
"source": [
"## API reference\n",
"\n",
"For detailed documentation of all Watsonx document compressor features and configurations head to the [API reference](https://api.js.langchain.com/modules/_langchain_community.document_compressors_ibm.WatsonxRerank.html)."
"For detailed documentation of all Watsonx document compressor features and configurations head to the [API reference](https://api.js.langchain.com/modules/_langchain_community.document_compressors_ibm.html)."
]
}
],
Expand Down
40 changes: 0 additions & 40 deletions docs/core_docs/docs/integrations/llms/watsonx_ai.mdx

This file was deleted.

4 changes: 4 additions & 0 deletions docs/core_docs/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@
{
"source": "/docs/troubleshooting/errors/MULTIPLE_SUBGRAPHS(/?)",
"destination": "https://langchain-ai.github.io/langgraphjs/troubleshooting/errors/MULTIPLE_SUBGRAPHS/"
},
{
"source": "/docs/integrations/llms/watsonx_ai(/?)",
"destination": "https://js.langchain.com/docs/integrations/llms/ibm/"
}
]
}
18 changes: 0 additions & 18 deletions examples/src/llms/watsonx_ai.ts

This file was deleted.

0 comments on commit bd89717

Please sign in to comment.