FunctionalAgentServiceBuilder
A builder class for constructing a FunctionalAIAgentService, enabling a fluent configuration style.
This class allows customization of various parameters and components required for the AI agent service, including strategies, prompts, models, tool registries, and other operational settings.
Type Parameters
The type of data input to the AI agent during execution.
The type of data output by the AI agent after processing.
Functions
Configures the current builder instance using the provided AIAgentConfig.
Builds and returns a configured instance of FunctionalAIAgentService.
Installs the specified feature into the functional service builder and applies the provided configuration.
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.