AIAgentExtensions extension
Provides extensions for AIAgent.
- on
Methods
-
asAIFunction(
{AIFunctionFactoryOptions? options, AgentSession? session}) → AIFunction -
Available on AIAgent, provided by the AIAgentExtensions extension
Creates anAIFunctionthat runs this AIAgent. -
asBuilder(
) → AIAgentBuilder -
Available on AIAgent, provided by the AIAgentExtensions extension
Creates a new AIAgentBuilder using this agent as the pipeline root.