invoke
Invokes the creation of a GraphAIAgentService
instance with the provided configuration, strategy, tool registry, and optional feature installation logic.
Parameters
The executor responsible for processing AI prompts and responses.
Configuration parameters for the AI agent.
A strategy defining the graph structure for AI agent interactions and processing.
Invokes the creation of a GraphAIAgentService
with the provided dependencies, configuration, and optional parameters for customization.
Parameters
The executor responsible for handling prompt-based interactions.
The large language model to be used by the agent.
The graph strategy defining the agent's execution behavior. Defaults to a single-run
Invokes the creation of a FunctionalAIAgentService instance with the provided parameters.
Return
An instance of FunctionalAIAgentService initialized with the given parameters.
Parameters
The executor responsible for handling prompts and managing their execution.
The configuration parameters for the AI agent.
The functional strategy that defines the behavior and capabilities of the AI agent.
The registry containing tools that can be used by the agent. Defaults to an empty registry if not specified.
A lambda expression to configure and install additional features to the AI agent context.