AIAgentConfigBuilder
A builder class for constructing an instance of AIAgentConfig with customizable configuration options.
Constructors
Functions
Constructs and returns an instance of AIAgentConfig using the values configured in the builder. The method validates that all required fields are provided and assigns default values to optional fields if they are not explicitly set.
Sets the executor service for handling LLM (Language Learning Model) requests.
Sets the maximum number of iterations allowed for the AI agent during its execution.
Configures the strategy to handle missing tool definitions in prompts.
Sets the prompt configuration for the AI agent.
Assigns a custom response processor to the configuration builder. The response processor is responsible for processing and transforming the responses generated by the language model.
Sets serializr for underlying tool calls and LLM requests
Sets the executor service to be used for executing strategies within the agent configuration.