Agent Invocation
Defines the contract for invoking an agent.
Default instances are created with AgentInvocation.create; AgentInvocation.builder allows for customization of the invocation before creation. Once created, invoke or invokeAsync is used to invoke the agent.
Parameters
T
type of result returned by the invocation
Types
Link copied to clipboard
class Builder
Builder for configuring and creating instances of AgentInvocation.
Functions
Link copied to clipboard
Invokes the agent asynchronously with a map of named inputs.
Invokes the agent asynchronously with one or more arguments.
Link copied to clipboard
Runs the agent with a map of named inputs.
Runs the agent with one or more arguments
Link copied to clipboard
Runs the agent asynchronously with a map of named inputs.
Runs the agent asynchronously with one or more arguments