LlmOptions

constructor(modelSelectionCriteria: ModelSelectionCriteria? = null, model: String? = null, role: String? = null, temperature: Double? = null, frequencyPenalty: Double? = null, maxTokens: Int? = null, presencePenalty: Double? = null, topK: Int? = null, topP: Double? = null, thinking: Thinking? = null, timeout: Duration? = null, extensions: Map<String, Any> = emptyMap())

Parameters

modelSelectionCriteria

explicit model selection criteria. If provided, overrides model and role.

model

Optional model name to use. If provided, specifies an LLM by name. Takes precedence over role.

role

Optional role to use for model selection. If provided, and model is not specified, used to find an LLM by role

timeout

Optional timeout for this LLM call. If provided, overrides the default client timeout.