functionalStrategy
Sets the functional strategy to be used by the agent builder.
The provided strategy defines the behavior and processing logic for the AI agent in a loop-based execution model. This method configures the builder to utilize the specified strategy and returns an instance of FunctionalAgentBuilder for further configuration.
Return
An instance of FunctionalAgentBuilder configured with the provided functional strategy.
Parameters
The type of the input data to be processed by the strategy.
The type of the output data to be produced by the strategy.
An instance of AIAgentFunctionalStrategy that contains the custom logic used by the AI agent for decision-making or execution processes.
Creates a functional agent builder using the provided strategy.
This method allows defining a custom functional strategy for the AI agent.
Return
A FunctionalAgentBuilder configured with the specified functional strategy.
Parameters
The type of the input parameter for the strategy's execution logic.
The type of the output returned by the strategy's execution logic.
The name identifying the functional strategy. Defaults to "funStrategy".
The implementation of the functional strategy's execution logic.
Sets the functional strategy to be used by the agent builder.
The provided strategy defines the behavior and processing logic for the AI agent in a loop-based execution model. This method configures the builder to utilize the specified strategy and returns an instance of FunctionalAgentBuilder for further configuration.
Return
An instance of FunctionalAgentBuilder configured with the provided functional strategy.
Parameters
The type of the input data to be processed by the strategy.
The type of the output data to be produced by the strategy.
An instance of AIAgentFunctionalStrategy that contains the custom logic used by the AI agent for decision-making or execution processes.
Sets the functional strategy to be used by the agent builder.
The provided strategy defines the behavior and processing logic for the AI agent in a loop-based execution model. This method configures the builder to utilize the specified strategy and returns an instance of FunctionalAgentBuilder for further configuration.
Return
An instance of FunctionalAgentBuilder configured with the provided functional strategy.
Parameters
The type of the input data to be processed by the strategy.
The type of the output data to be produced by the strategy.
An instance of AIAgentFunctionalStrategy that contains the custom logic used by the AI agent for decision-making or execution processes.