mirascope.core.base.structured_stream¶
This module defines the base class for structured streams.
BaseStructuredStream
¶
BaseStructuredStream(
*,
stream: BaseStream,
response_model: type[_ResponseModelT]
)
Bases: Generic[_ResponseModelT]
A base class for streaming structured outputs from LLMs.