SubtaskBuilder

class SubtaskBuilder(val context: AIAgentFunctionalContextBase<*>, val taskDescription: String)(source)

A builder class responsible for creating and managing subtasks within the context of an AI agent's functional operations.

Parameters

context

The functional context associated with the AI agent, providing the necessary environment for the subtask.

taskDescription

A textual description of the task to be handled by the subtask.

Constructors

Link copied to clipboard
constructor(context: AIAgentFunctionalContextBase<*>, taskDescription: String)

Initializes the SubtaskBuilder with a specific AI agent functional context and a description of the task.

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Associates an input with the subtask being built.