Package com.embabel.agent.api.invocation
Interface ScopedInvocation
-
- All Implemented Interfaces:
-
com.embabel.agent.api.invocation.BaseInvocation
public interface ScopedInvocation<THIS extends ScopedInvocation<THIS>> implements BaseInvocation<THIS>
Invocation with a defined scope of actions and goals. Scoped invocations create agents from the provided scope.
-
-
Method Summary
Modifier and Type Method Description abstract THISwithScope(AgentScopeBuilder agentScopeBuilder)Set the scope of actions and goals. abstract THISwithAgentName(String name)Set a custom name for the created agent. -
-
Method Detail
-
withScope
abstract THIS withScope(AgentScopeBuilder agentScopeBuilder)
Set the scope of actions and goals.
-
withAgentName
abstract THIS withAgentName(String name)
Set a custom name for the created agent. If not set, a default name based on the platform will be used.
-
-
-
-