OpenAILLMClient

constructor(apiKey: String, settings: OpenAIClientSettings = OpenAIClientSettings(), baseClient: HttpClient = HttpClient())(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