ChatOptionsCustomizer

Extension point for provider-specific org.springframework.ai.chat.prompt.ChatOptions customization.

Implement this interface and register it as a Spring bean to apply provider-specific option tuning on top of the default mapping.

Types

Link copied to clipboard
object Companion

A companion object for ChatOptionsCustomizer

Functions

Link copied to clipboard
abstract fun customize(options: ChatOptions, params: LLMParams, model: LLModel): ChatOptions

Customize the given options based on the original Koog params and model.