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
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.