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

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