lib-client-openai 0.1.0

OpenAI API client library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! OpenAI API client library.
//!
//! A type-safe, async client for the OpenAI Chat Completions API.

mod auth;
mod client;
mod error;
mod types;

pub use auth::{ApiKeyAuth, AuthStrategy};
pub use client::{Client, ClientBuilder};
pub use error::{OpenAiError, Result};
pub use types::*;