OpenAILLMClient

constructor(    apiKey: String,     settings: OpenAIClientSettings = OpenAIClientSettings(),     baseClient: HttpClient = HttpClient(),     clock: Clock = Clock.System)(source)

Parameters

apiKey

The API key for the OpenAI API

settings

The base URL and timeouts for the OpenAI API, defaults to "https://api.openai.com" and 900 s

clock

Clock instance used for tracking response metadata timestamps.