Packages

Sans-IO OpenAI API client for Gleam, ported from async-openai

Current section

Files

Jump to
glopenai src glopenai.gleam
Raw

src/glopenai.gleam

// glopenai - Sans-IO OpenAI API client for Gleam
//
// This library builds HTTP requests and parses HTTP responses for the OpenAI API.
// It does not send or receive HTTP — you bring your own HTTP client.
import glopenai/config
import glopenai/error
pub type Config =
config.Config
pub type AzureConfig =
config.AzureConfig
pub type GlopenaiError =
error.GlopenaiError
pub type ApiError =
error.ApiError