OptionsConverter

Convert our LLM options to Spring AI ChatOptions.

Implementations must override convertOptions and include the given model in the returned ChatOptions so that the configured model name is always stamped onto outgoing requests.

Inheritors

Functions

Link copied to clipboard
abstract fun convertOptions(options: LlmOptions, model: String): <Error class: unknown class>

Convert LlmOptions to provider-specific ChatOptions, stamping the given model name onto the result.