mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
17 lines
412 B
Markdown
17 lines
412 B
Markdown
|
# AI21 Labs
|
||
|
|
||
|
This page covers how to use the AI21 ecosystem within LangChain.
|
||
|
It is broken into two parts: installation and setup, and then references to specific AI21 wrappers.
|
||
|
|
||
|
## Installation and Setup
|
||
|
- Get an AI21 api key and set it as an environment variable (`AI21_API_KEY`)
|
||
|
|
||
|
## Wrappers
|
||
|
|
||
|
### LLM
|
||
|
|
||
|
There exists an AI21 LLM wrapper, which you can access with
|
||
|
```python
|
||
|
from langchain.llms import AI21
|
||
|
```
|