> ## Documentation Index
> Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# IBM Watsonx Embeddings

> Generate embeddings using IBM Watsonx.ai

## Overview

IBM Watsonx.ai provides enterprise-grade embedding models for text processing.

## Quick Start

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import embedding

result = embedding(
    input="Hello world",
    model="watsonx/ibm/slate-125m-english-rtrvr"
)
print(f"Dimensions: {len(result.embeddings[0])}")
```

## CLI Usage

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai embed "Hello world" --model watsonx/ibm/slate-125m-english-rtrvr
```

## Setup

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export WATSONX_API_KEY="your-watsonx-api-key"
export WATSONX_URL="https://us-south.ml.cloud.ibm.com"
```

## Available Models

| Model                                  | Dimensions |
| -------------------------------------- | ---------- |
| `watsonx/ibm/slate-125m-english-rtrvr` | 768        |
| `watsonx/ibm/slate-30m-english-rtrvr`  | 384        |

## Related

* [Embedding Providers Overview](/docs/embeddings/index)
