structuredOutputWithToolsStrategy
Defines a strategy for handling structured output with tools integration using specified configuration and execution logic.
This strategy facilitates a structured pipeline for generating outputs using tools and large language models (LLMs), enabling transformations between input, intermediate results, and structured output based on the provided configuration and execution behavior.
Parameters
The type of the structured output generated by the strategy.
The configuration for structured output processing, specifying schema, providers, and optional error handling mechanisms.
Defines a strategy for handling structured output with tools integration using specified configuration and execution logic.
This strategy facilitates a structured pipeline for generating outputs using tools and large language models (LLMs), enabling transformations between input, intermediate results, and structured output based on the provided configuration and execution behavior.
Parameters
The type of the input to be processed by the strategy.
The type of the structured output generated by the strategy.
The configuration for structured output processing, specifying schema, providers, and optional error handling mechanisms.
A suspendable function that accepts the input of type Input
and produces a string output that serves as the input for further processing in the structured output pipeline.