StructuredResponse
data class StructuredResponse<T>(val data: T, val structure: Structure<T, *>, val message: Message.Assistant)(source)
Represents a container for structured data parsed from a response message.
This class is designed to encapsulate both the parsed structured output and the original raw text as returned from a processing step, such as a language model execution.
Parameters
T
The type of the structured data contained within this response.