| Crates.io | ai21 |
| lib.rs | ai21 |
| version | 0.1.4 |
| created_at | 2022-04-09 19:12:34.798207+00 |
| updated_at | 2022-04-09 21:32:10.731256+00 |
| description | A wrapper over the AI21 Studio API |
| homepage | |
| repository | |
| max_upload_size | |
| id | 564841 |
| size | 6,079 |
Get completions with J1:
use ai21::AI21;
let ai21 = AI21::new(token).temperature(0.9).build();
let output = ai21.complete("The meaning of life is").await.unwrap();