AIAgent
Convenience builder that creates an instance of AIAgent, automatically deducing AIAgent.inputType and AIAgent.outputType from Input and Output
See also
class
Convenience builder that creates an instance of an AIAgent with string input and output and the specified parameters.
Parameters
The PromptExecutor responsible for executing prompts.
The AIAgentStrategy defining the agent's behavior. Default is a single-run strategy.
The system-level prompt context for the agent. Default is an empty string.
The language model to be used by the agent.
The sampling temperature for the language model, controlling randomness. Default is 1.0.
The ToolRegistry containing tools available to the agent. Default is an empty registry.
Maximum number of iterations for the agent's execution. Default is 50.
A suspending lambda to install additional features for the agent's functionality. Default is an empty lambda.
See also
class