Package-level declarations

Types

Link copied to clipboard
class OpenAIClientSettings(val baseUrl: String = "https://api.openai.com", val timeoutConfig: ConnectionTimeoutConfig = ConnectionTimeoutConfig())

Represents the settings for configuring an OpenAI client.

Link copied to clipboard
open class OpenAILLMClient(apiKey: String, settings: OpenAIClientSettings = OpenAIClientSettings(), baseClient: HttpClient = HttpClient()) : LLMEmbeddingProvider, LLMClient

Implementation of LLMClient for OpenAI API. Uses Ktor HttpClient to communicate with the OpenAI API.

Link copied to clipboard

Object containing a collection of predefined OpenAI model configurations. These models span various use cases, including reasoning, chat, and cost-optimized tasks.