SpringAiNativeThinkingExtractor

SPI for extracting native thinking blocks from a Spring AI ChatResponse.

Providers that expose reasoning natively (e.g. Anthropic thinking blocks, OpenAI reasoningContent) wire a concrete implementation; others use NOOP.

Follows the same injected-collaborator pattern as SpringAiNativeStructuredOutputConfigurer.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun extract(response: <Error class: unknown class>): List<<Error class: unknown class>>