From c180835d03edf4d37f48fec577dadf21369c373f Mon Sep 17 00:00:00 2001 From: Mateusz Szewczyk Date: Mon, 3 Nov 2025 13:17:05 +0100 Subject: [PATCH 1/3] Updated langchain-ibm reference documentataion --- .../python/docs/integrations/langchain_ibm.md | 11 ---- .../integrations/langchain_ibm/ChatWatsonx.md | 12 ++++ .../langchain_ibm/WatsonxEmbeddings.md | 12 ++++ .../integrations/langchain_ibm/WatsonxLLM.md | 12 ++++ .../langchain_ibm/WatsonxRerank.md | 12 ++++ .../WatsonxSQLDatabaseToolkit.md | 10 +++ .../langchain_ibm/WatsonxToolkit.md | 12 ++++ .../docs/integrations/langchain_ibm/index.md | 66 +++++++++++++++++++ 8 files changed, 136 insertions(+), 11 deletions(-) delete mode 100644 reference/python/docs/integrations/langchain_ibm.md create mode 100644 reference/python/docs/integrations/langchain_ibm/ChatWatsonx.md create mode 100644 reference/python/docs/integrations/langchain_ibm/WatsonxEmbeddings.md create mode 100644 reference/python/docs/integrations/langchain_ibm/WatsonxLLM.md create mode 100644 reference/python/docs/integrations/langchain_ibm/WatsonxRerank.md create mode 100644 reference/python/docs/integrations/langchain_ibm/WatsonxSQLDatabaseToolkit.md create mode 100644 reference/python/docs/integrations/langchain_ibm/WatsonxToolkit.md create mode 100644 reference/python/docs/integrations/langchain_ibm/index.md diff --git a/reference/python/docs/integrations/langchain_ibm.md b/reference/python/docs/integrations/langchain_ibm.md deleted file mode 100644 index f6578a0ffc..0000000000 --- a/reference/python/docs/integrations/langchain_ibm.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: IBM ---- - -# `langchain-ibm` - -[![PyPI - Version](https://img.shields.io/pypi/v/langchain-ibm?label=%20)](https://pypi.org/project/langchain-ibm/#history) -[![PyPI - License](https://img.shields.io/pypi/l/langchain-ibm)](https://opensource.org/licenses/MIT) -[![PyPI - Downloads](https://img.shields.io/pepy/dt/langchain-ibm)](https://pypistats.org/packages/langchain-ibm) - -::: langchain_ibm diff --git a/reference/python/docs/integrations/langchain_ibm/ChatWatsonx.md b/reference/python/docs/integrations/langchain_ibm/ChatWatsonx.md new file mode 100644 index 0000000000..256a357ca0 --- /dev/null +++ b/reference/python/docs/integrations/langchain_ibm/ChatWatsonx.md @@ -0,0 +1,12 @@ +--- +title: ChatWatsonx +--- + +# `ChatWatsonx` + +!!! warning "Reference docs" + This page contains **reference documentation** for `ChatWatsonx`. See + [the docs](https://docs.langchain.com/oss/python/integrations/chat/ibm_watsonx) + for conceptual guides, tutorials, and examples on using `ChatWatsonx`. + +::: langchain_ibm.chat_models.ChatWatsonx diff --git a/reference/python/docs/integrations/langchain_ibm/WatsonxEmbeddings.md b/reference/python/docs/integrations/langchain_ibm/WatsonxEmbeddings.md new file mode 100644 index 0000000000..52d15e766a --- /dev/null +++ b/reference/python/docs/integrations/langchain_ibm/WatsonxEmbeddings.md @@ -0,0 +1,12 @@ +--- +title: WatsonxEmbeddings +--- + +# `WatsonxEmbeddings` + +!!! warning "Reference docs" + This page contains **reference documentation** for `WatsonxEmbeddings`. See + [the docs](https://docs.langchain.com/oss/python/integrations/text_embedding/ibm_watsonx) + for conceptual guides, tutorials, and examples on using `WatsonxEmbeddings`. + +::: langchain_ibm.embeddings.WatsonxEmbeddings diff --git a/reference/python/docs/integrations/langchain_ibm/WatsonxLLM.md b/reference/python/docs/integrations/langchain_ibm/WatsonxLLM.md new file mode 100644 index 0000000000..eac83bf8ae --- /dev/null +++ b/reference/python/docs/integrations/langchain_ibm/WatsonxLLM.md @@ -0,0 +1,12 @@ +--- +title: WatsonxLLM +--- + +# `WatsonxLLM` + +!!! warning "Reference docs" + This page contains **reference documentation** for `WatsonxLLM`. See + [the docs](https://docs.langchain.com/oss/python/integrations/llms/ibm_watsonx) + for conceptual guides, tutorials, and examples on using `WatsonxLLM`. + +::: langchain_ibm.llms.WatsonxLLM diff --git a/reference/python/docs/integrations/langchain_ibm/WatsonxRerank.md b/reference/python/docs/integrations/langchain_ibm/WatsonxRerank.md new file mode 100644 index 0000000000..ef80c8718e --- /dev/null +++ b/reference/python/docs/integrations/langchain_ibm/WatsonxRerank.md @@ -0,0 +1,12 @@ +--- +title: WatsonxRerank +--- + +# `WatsonxRerank` + +!!! warning "Reference docs" + This page contains **reference documentation** for `WatsonxRerank`. See + [the docs](https://docs.langchain.com/oss/python/integrations/retrievers/ibm_watsonx_ranker) + for conceptual guides, tutorials, and examples on using `WatsonxRerank`. + +::: langchain_ibm.rerank.WatsonxRerank diff --git a/reference/python/docs/integrations/langchain_ibm/WatsonxSQLDatabaseToolkit.md b/reference/python/docs/integrations/langchain_ibm/WatsonxSQLDatabaseToolkit.md new file mode 100644 index 0000000000..1e5c059342 --- /dev/null +++ b/reference/python/docs/integrations/langchain_ibm/WatsonxSQLDatabaseToolkit.md @@ -0,0 +1,10 @@ +--- +title: WatsonxSQLDatabaseToolkit +--- + +# `WatsonxSQLDatabaseToolkit` + +!!! warning "Reference docs" + This page contains **reference documentation** for `WatsonxSQLDatabaseToolkit`. + +::: langchain_ibm.agent_toolkits.sql.toolkit.WatsonxSQLDatabaseToolkit diff --git a/reference/python/docs/integrations/langchain_ibm/WatsonxToolkit.md b/reference/python/docs/integrations/langchain_ibm/WatsonxToolkit.md new file mode 100644 index 0000000000..370d51bcc3 --- /dev/null +++ b/reference/python/docs/integrations/langchain_ibm/WatsonxToolkit.md @@ -0,0 +1,12 @@ +--- +title: WatsonxToolkit +--- + +# `WatsonxToolkit` + +!!! warning "Reference docs" + This page contains **reference documentation** for `WatsonxToolkit`. See + [the docs](https://docs.langchain.com/oss/python/integrations/tools/ibm_watsonx) + for conceptual guides, tutorials, and examples on using `WatsonxToolkit`. + +::: langchain_ibm.agent_toolkits.utility.toolkit.WatsonxToolkit diff --git a/reference/python/docs/integrations/langchain_ibm/index.md b/reference/python/docs/integrations/langchain_ibm/index.md new file mode 100644 index 0000000000..47662762e2 --- /dev/null +++ b/reference/python/docs/integrations/langchain_ibm/index.md @@ -0,0 +1,66 @@ +--- +title: IBM +--- + +# `langchain-ibm` + +[![PyPI - Version](https://img.shields.io/pypi/v/langchain-ibm?label=%20)](https://pypi.org/project/langchain-ibm/#history) +[![PyPI - License](https://img.shields.io/pypi/l/langchain-ibm)](https://opensource.org/licenses/MIT) +[![PyPI - Downloads](https://img.shields.io/pepy/dt/langchain-ibm)](https://pypistats.org/packages/langchain-ibm) + +## Modules + +!!! note "Usage documentation" + Refer to [the docs](https://docs.langchain.com/oss/python/integrations/providers/ibm) for a high-level guide on how to use each module. These reference pages contain auto-generated API documentation for each module, focusing on the "what" rather than the "how" or "why" (i.e. no end-to-end tutorials or conceptual overviews). + +
+ +- :material-message-text:{ .lg .middle } __`ChatWatsonx`__ + + --- + + IBM watsonx.ai chat models. + + [:octicons-arrow-right-24: Reference](./ChatWatsonx.md) + +- :material-message-text:{ .lg .middle } __`WatsonxLLM`__ + + --- + + (Legacy) IBM watsonx.ai text completion models. + + [:octicons-arrow-right-24: Reference](./WatsonxLLM.md) + +- :material-message-text:{ .lg .middle } __`WatsonxEmbeddings`__ + + --- + + IBM watsonx.ai embedding models. + + [:octicons-arrow-right-24: Reference](./WatsonxEmbeddings.md) + +- :material-message-text:{ .lg .middle } __`WatsonxRerank`__ + + --- + + IBM watsonx.ai document retriever. + + [:octicons-arrow-right-24: Reference](./WatsonxRerank.md) + +- :material-message-text:{ .lg .middle } __`WatsonxToolkit`__ + + --- + + IBM watsonx.ai toolkit. + + [:octicons-arrow-right-24: Reference](./WatsonxToolkit.md) + +- :material-message-text:{ .lg .middle } __`WatsonxSQLDatabaseToolkit`__ + + --- + + IBM watsonx.ai SQL database toolkit. + + [:octicons-arrow-right-24: Reference](./WatsonxSQLDatabaseToolkit.md) + +
From 41743b3a85dd377b064680e48a549e2156d2e958 Mon Sep 17 00:00:00 2001 From: Mateusz Szewczyk Date: Mon, 3 Nov 2025 13:48:30 +0100 Subject: [PATCH 2/3] update references --- reference/python/mkdocs.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/python/mkdocs.yml b/reference/python/mkdocs.yml index cba30e07bb..d64a9913ac 100644 --- a/reference/python/mkdocs.yml +++ b/reference/python/mkdocs.yml @@ -444,7 +444,14 @@ nav: - Google (VertexAI): integrations/langchain_google_vertexai.md - Groq: integrations/langchain_groq.md - HuggingFace: integrations/langchain_huggingface.md - - IBM: integrations/langchain_ibm.md + - IBM: + - integrations/langchain_ibm/index.md + - ChatWatsonx: integrations/langchain_ibm/ChatWatsonx.md + - WatsonxLLM: integrations/langchain_ibm/WatsonxLLM.md + - WatsonxEmbeddings: integrations/langchain_ibm/WatsonxEmbeddings.md + - WatsonxRerank: integrations/langchain_ibm/WatsonxRerank.md + - WatsonxToolkit: integrations/langchain_ibm/WatsonxToolkit.md + - WatsonxSQLDatabaseToolkit: integrations/langchain_ibm/WatsonxSQLDatabaseToolkit.md - Milvus: integrations/langchain_milvus.md - Mistral AI: integrations/langchain_mistralai.md - MongoDB: https://langchain-mongodb.readthedocs.io/en/latest/index.html From b00b4022898ecb62cbf6602fae8591c557f7605c Mon Sep 17 00:00:00 2001 From: Mateusz Szewczyk Date: Mon, 3 Nov 2025 22:40:30 +0100 Subject: [PATCH 3/3] Add different icons for each component --- reference/python/docs/integrations/langchain_ibm/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/python/docs/integrations/langchain_ibm/index.md b/reference/python/docs/integrations/langchain_ibm/index.md index 47662762e2..78ff887b66 100644 --- a/reference/python/docs/integrations/langchain_ibm/index.md +++ b/reference/python/docs/integrations/langchain_ibm/index.md @@ -31,7 +31,7 @@ title: IBM [:octicons-arrow-right-24: Reference](./WatsonxLLM.md) -- :material-message-text:{ .lg .middle } __`WatsonxEmbeddings`__ +- :fontawesome-solid-layer-group:{ .lg .middle } __`WatsonxEmbeddings`__ --- @@ -39,7 +39,7 @@ title: IBM [:octicons-arrow-right-24: Reference](./WatsonxEmbeddings.md) -- :material-message-text:{ .lg .middle } __`WatsonxRerank`__ +- :fontawesome-solid-layer-group:{ .lg .middle } __`WatsonxRerank`__ --- @@ -47,7 +47,7 @@ title: IBM [:octicons-arrow-right-24: Reference](./WatsonxRerank.md) -- :material-message-text:{ .lg .middle } __`WatsonxToolkit`__ +- :fontawesome-solid-screwdriver-wrench:{ .lg .middle } __`WatsonxToolkit`__ --- @@ -55,7 +55,7 @@ title: IBM [:octicons-arrow-right-24: Reference](./WatsonxToolkit.md) -- :material-message-text:{ .lg .middle } __`WatsonxSQLDatabaseToolkit`__ +- :fontawesome-solid-screwdriver-wrench:{ .lg .middle } __`WatsonxSQLDatabaseToolkit`__ ---