subgraphWithVerification
fun <Input> AIAgentSubgraphBuilderBase<*, *>.subgraphWithVerification(toolSelectionStrategy: ToolSelectionStrategy, model: LLModel? = null, params: LLMParams? = null, shouldTLDRHistory: Boolean = true, defineTask: suspend AIAgentContextBase.(input: Input) -> String): AIAgentSubgraphDelegateBase<Input, VerifiedSubgraphResult>(source)
subgraphWithTask with VerifiedSubgraphResult result. It verifies if the task was performed correctly or not, and describes the problems if any.
fun <Input> AIAgentSubgraphBuilderBase<*, *>.subgraphWithVerification(tools: List<Tool<*, *>>, model: LLModel? = null, params: LLMParams? = null, shouldTLDRHistory: Boolean = true, defineTask: suspend AIAgentContextBase.(input: Input) -> String): AIAgentSubgraphDelegateBase<Input, VerifiedSubgraphResult>(source)