FunctionalAgentBuilder
A builder class for constructing instances of FunctionalAIAgent with customizable configuration.
This builder simplifies the configuration process by providing a fluent API to set various parameters for the FunctionalAIAgent, including its behavior strategy, prompt details, model settings, tool registry, and additional features. The builder enforces the presence of required configurations and allows the addition of optional parameters to tailor the agent's functionality.
Type Parameters
The type of input that the resulting AI agent will process.
The type of output that the resulting AI agent will produce.
Constructors
Functions
Configures the current builder instance using the provided AIAgentConfig.
Installs and configures a given feature into the functional agent builder.
Sets the maximum number of iterations for the builder.
Sets the number of choices to be utilized by the builder instance.
Sets the PromptExecutor to be used by the builder instance.
Sets the response processor for the agent.
Sets the system prompt to be used by the builder.
Sets the temperature value for the builder.
Sets the given ToolRegistry instance to the builder configuration.