# Gradient

>[Gradient](https://gradient.ai/) allows to fine tune and get completions on LLMs with a simple web API.

## Installation and Setup
- Install the Python SDK :
```bash
pip install gradientai
```
Get a [Gradient access token and workspace](https://gradient.ai/) and set it as an environment variable (`Gradient_ACCESS_TOKEN`) and (`GRADIENT_WORKSPACE_ID`)

## LLM

There exists an Gradient LLM wrapper, which you can access with 
See a [usage example](/docs/integrations/llms/gradient).

```python
from langchain_community.llms import GradientLLM
```

## Text Embedding Model

There exists an Gradient Embedding model, which you can access with 
```python
from langchain_community.embeddings import GradientEmbeddings
```
For a more detailed walkthrough of this, see [this notebook](/docs/integrations/text_embedding/gradient)
