SubtaskBuilderWithInputAndOutput
Parameters
The type of the input required for the subtask.
The type of the output produced by the subtask.
The functional context associated with the AI agent.
The description of the task that this subtask represents.
The input data required for the subtask.
Specifies the output of the subtask either by its class or through a finish tool.
Optional list of tools that can be used during the subtask execution.
Optional language model to be used for the subtask.
Optional parameters for the language model configuration.
Optional processor for post-processing LLM responses.
Specifies the mode in which tools should be called (e.g., sequentially).
Optional maximum number of response repetitions allowed for the assistant.
Optional executor service for managing asynchronous operations.
Constructs a new instance of SubtaskBuilderWithInputAndOutput. This constructor allows specifying the context, task description, input, and the output class type, which will be used to configure the subtask builder for tasks requiring both input and output processing.
Parameters
The functional context required to set up the subtask builder.
A textual description of the task being built.
The input data required for the task execution.
The class type of the output expected from the task execution.
Secondary constructor for initializing an instance of SubtaskBuilderWithInputAndOutput with a specific context, task description, input, and a finalizing tool for output processing.
Parameters
The functional context in which the subtask is executed.
Description of the task being performed by the subtask.
The input required for the execution of the subtask.
A tool used to produce the final output for the subtask.