Skip to content
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
49 changes: 37 additions & 12 deletions docs/docs/integrations/providers/ibm.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# IBM

The `LangChain` integrations related to [IBM watsonx.ai](https://www.ibm.com/products/watsonx-ai) platform.
LangChain integrations related to IBM technologies, including the
[IBM watsonx.ai](https://www.ibm.com/products/watsonx-ai) platform and DB2 database.

## Watsonx AI
IBM® watsonx.ai™ AI studio is part of the IBM [watsonx](https://www.ibm.com/watsonx)™ AI and data platform, bringing together new generative
AI capabilities powered by [foundation models](https://www.ibm.com/products/watsonx-ai/foundation-models) and traditional machine learning (ML)
into a powerful studio spanning the AI lifecycle. Tune and guide models with your enterprise data to meet your needs with easy-to-use tools for
Expand All @@ -14,7 +16,7 @@ Watsonx.ai offers:
- **Hybrid, multi-cloud deployments:** IBM provides the flexibility to integrate and deploy your AI workloads into your hybrid-cloud stack of choice.


## Installation and Setup
### Installation and Setup

Install the integration package with
```bash
Expand All @@ -28,52 +30,75 @@ import os
os.environ["WATSONX_APIKEY"] = "your IBM watsonx.ai api key"
```

## Chat Model
### Chat Model

### ChatWatsonx
#### ChatWatsonx

See a [usage example](/docs/integrations/chat/ibm_watsonx).

```python
from langchain_ibm import ChatWatsonx
```

## LLMs
### LLMs

### WatsonxLLM
#### WatsonxLLM

See a [usage example](/docs/integrations/llms/ibm_watsonx).

```python
from langchain_ibm import WatsonxLLM
```

## Embedding Models
### Embedding Models

### WatsonxEmbeddings
#### WatsonxEmbeddings

See a [usage example](/docs/integrations/text_embedding/ibm_watsonx).

```python
from langchain_ibm import WatsonxEmbeddings
```

## Reranker
### Reranker

### WatsonxRerank
#### WatsonxRerank

See a [usage example](/docs/integrations/retrievers/ibm_watsonx_ranker).

```python
from langchain_ibm import WatsonxRerank
```

## Toolkit
### Toolkit

### WatsonxToolkit
#### WatsonxToolkit

See a [usage example](/docs/integrations/tools/ibm_watsonx).

```python
from langchain_ibm import WatsonxToolkit
```

## DB2

### Vector stores

#### IBM DB2 Vector Store and Vector Search

The IBM DB2 relational database v12.1.2 and above offers the abilities of vector store
and vector search. Installation of `langchain-db2` package will give Langchain users
the support of DB2 vector store and vector search.

See detailed usage examples in the guide [here](/docs/integrations/vectorstores/db2).

Installation: This is a seperate package for vector store feature only and can be run
without the `langchain-ibm` package.
```bash
pip install -U langchain-db2
```
Usage:
```python
from langchain_db2 import db2vs
from langchain_db2.db2vs import DB2VS
```
Loading
Loading