AIAgent
Creates an instance of AIAgent with 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.
Initializes the AI agent instance and prepares the feature context and pipeline for use.