withResponseProcessor
fun withResponseProcessor(responseProcessor: ResponseProcessor): SubtaskBuilderWithInputAndOutput<Input, Output>(source)
Sets the response processor to be used for post-processing LLM responses during task execution.
Return
An updated instance of SubtaskBuilderWithInputAndOutput with the specified response processor applied.
Parameters
responseProcessor
The instance of ResponseProcessor to handle and modify LLM responses during task execution.