Skip to content
Merged
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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ client = AI21Client()

response = client.chat.completions.create(
messages=messages,
model="jamba-instruct",
model="jamba-large",
max_tokens=100,
temperature=0.7,
top_p=1.0,
Expand All @@ -190,7 +190,7 @@ response = client.chat.completions.create(
print(response)
```

Note that jamba-instruct supports async and streaming as well.
Note that jamba-large supports async and streaming as well.

</details>

Expand All @@ -212,7 +212,7 @@ client = AI21Client()

response = client.chat.completions.create(
messages=messages,
model="jamba-instruct",
model="jamba-large",
stream=True,
)
for chunk in response:
Expand Down Expand Up @@ -606,7 +606,7 @@ and `AsyncAI21AzureClient` clients.

The following models are supported on Azure:

- `jamba-instruct`
- `jamba-large`

```python
from ai21 import AI21AzureClient
Expand Down Expand Up @@ -647,7 +647,7 @@ messages = [

async def main():
response = await client.chat.completions.create(
model="jamba-instruct",
model="jamba-large",
messages=messages,
)

Expand Down
Loading