ai21 0.1.3

A wrapper over the AI21 Studio API
Documentation
1
2
3
4
5
6
7
8
Get completions with J1:

```rust
use ai21::AI21;

let ai21 = AI21::new(token).temperature(0.9).build();
let output = ai21.complete("The meaning of life is").await.unwrap();
```