forked from phoenix/litellm-mirror
docs: update ai21 docs
This commit is contained in:
parent
ce5182710f
commit
ebf42d6764
1 changed files with 7 additions and 2 deletions
|
@ -3,7 +3,12 @@ import TabItem from '@theme/TabItem';
|
|||
|
||||
# AI21
|
||||
|
||||
LiteLLM supports j2-light, j2-mid and j2-ultra from [AI21](https://www.ai21.com/studio/pricing)
|
||||
LiteLLM supports the following [AI21](https://www.ai21.com/studio/pricing) models:
|
||||
* `jamba-1.5-mini`
|
||||
* `jamba-1.5-large`
|
||||
* `j2-light`
|
||||
* `j2-mid`
|
||||
* `j2-ultra`
|
||||
|
||||
|
||||
:::tip
|
||||
|
@ -30,7 +35,7 @@ os.environ["AI21_API_KEY"] = "your-api-key"
|
|||
|
||||
messages = [{"role": "user", "content": "Write me a poem about the blue sky"}]
|
||||
|
||||
completion(model="j2-light", messages=messages)
|
||||
completion(model="ai21/jamba-1.5-mini", messages=messages)
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue