DefaultModelClientProperties

constructor(openAiUrl: String = "https://api.openai.com/v1", openAiApiKey: String, model: String = "gpt-4o-mini", maxTokens: Int = 200, temperature: Double = 0.0, format: String = "json_object", apiKey: String? = openAiApiKey, baseUrl: String = openAiUrl, provider: String = "openai")

Parameters

openAiUrl

The OpenAI URL.

openAiApiKey

The OpenAI API key.

model

The model.

maxTokens

The maximum number of tokens.

temperature

The temperature.

format

The format.