Utility Invocation
data class UtilityInvocation constructor(agentPlatform: AgentPlatform, processOptions: ProcessOptions = ProcessOptions(), agentScopeBuilder: AgentScopeBuilder = agentPlatform) : BaseInvocation<UtilityInvocation> , ScopedInvocation<UtilityInvocation>
Invoker for utility agents. Will pick up all @EmbabelComponent and @Agent annotated classes and apply all their actions and goals
Parameters
agent Platform
the agent platform to create and manage agent processes
process Options
options to configure the agent process
agent Scope Builder
emits the scope to create the utility agent in
Constructors
Link copied to clipboard
constructor(agentPlatform: AgentPlatform, processOptions: ProcessOptions = ProcessOptions(), agentScopeBuilder: AgentScopeBuilder = agentPlatform)
Functions
Link copied to clipboard
Create a platform agent for utility invocations
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
Link copied to clipboard
Do we terminate the agent process without error if it gets stuck?
Link copied to clipboard
Link copied to clipboard
Set the scope of actions and goals