Package-level declarations

Types

Link copied to clipboard
class OpenAIApi(apiKey: ApiKey, http: HttpHandler = JavaHttpClient(), org: OpenAIApi.Org? = null) : OpenAICompatibleClient

Official OpenAI API integration

Link copied to clipboard
fun interface OpenAICompatibleClient : Function0<OpenAI>

Provides an OpenAI compatible API client. Since the OpenAI API is used across many model providers, this allows you to plug in any compatible client