fieri 0.7.0

Unofficial Rust client for OpenAI.
Documentation
1
2
3
4
5
6
7
8
9
10
use fieri::{model::retrieve, Client, Error};

#[tokio::main]
async fn main() -> Result<(), Error> {
    let client = Client::new();

    let resp = retrieve(&client, "davinci").await?;
    println!("Resp {:#?}", resp);
    Ok(())
}