Thinking Response
data class ThinkingResponse<T>(val result: T?, val thinkingBlocks: List<<Error class: unknown class>>)
Response from LLM operations that includes both the converted result and thinking blocks.
This class provides access to both the final structured result and the reasoning process that led to that result, enabling analysis of LLM decision-making.
Parameters
T
The type of the converted result object
Functions
Link copied to clipboard
Get thinking blocks by tag value (e.g., "think", "analysis").
Link copied to clipboard
Get thinking blocks of a specific type.
Link copied to clipboard
Get all thinking content as a single concatenated string. Useful for logging or display purposes.
Link copied to clipboard
Check if thinking blocks were found in the response.