withVerification
Responsible for building a subgraph that can perform verification tasks within the AI agent graph. Resulting subgraph woult take an instance of Input and produce an instance of CriticResult<Input>
Return
A builder instance of SubgraphWithTaskBuilder configured to handle the input type Input and output type CriticResult, incorporating the specified verification behavior.
Parameters
A contextual action defining the verification task. It processes the input of type Input and produces a String as output within the AI agent graph context.
Responsible for building a subgraph that can perform verification tasks within the AI agent graph. Resulting subgraph woult take an instance of Input and produce an instance of CriticResult<Input>
Return
A builder instance of SubgraphWithTaskBuilder configured to handle the input type Input and output type CriticResult, incorporating the specified verification behavior.
Parameters
An action defining the verification task. It processes the input of type Input and produces a String as output within the AI agent graph context.