Interface AgentInvocationContextBuilder
- All Known Implementing Classes:
AgentInvocationContextBuilderImpl
public interface AgentInvocationContextBuilder
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionagentDefinition(AgentDefinition agentDefinition) The agent definition to be used.agentDefinitionModel(AgentDefinitionModel agentDefinitionModel) The agent definition model to be used.agentInstance(AgentInstance agentInstance) agentInvocationId(String agentInvocationId) create()operationKey(String operationKey) Add a parameter for expression evaluation.parameters(Map<String, Object> parameters) Add parameters for expression evaluation.userExchangePartType(String userExchangePartType) userGroupKeys(Collection<String> userGroupKeys)
-
Method Details
-
agentDefinition
The agent definition to be used. If not provided thenagentDefinitionModel(AgentDefinitionModel)must be provided. Not allowed to be used together withagentDefinitionModel(AgentDefinitionModel).- Parameters:
agentDefinition- the agent definition to use
-
agentDefinitionModel
The agent definition model to be used. Not allowed to be used together withagentDefinition(AgentDefinition).- Parameters:
agentDefinitionModel- the agent definition model to use
-
agentInstance
-
agentInvocationId
-
operationKey
-
userExchangePartType
-
userId
-
userGroupKeys
-
tenantId
-
parameter
Add a parameter for expression evaluation. E.g., for the user / system messages.- Parameters:
name- the name of the parametervalue- the value of the parameter
-
parameters
Add parameters for expression evaluation. E.g., for the user / system messages.- Parameters:
parameters- the parameters to add
-
create
AgentInvocationContext create() -
createNonTransactional
AgentInvocationContext createNonTransactional()
-