Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(community): remove docs for Watsonx IBM deprecated implementation #7306

Merged
merged 7 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -80,6 +80,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.

Loading