Class AgentInvocationContextImpl
java.lang.Object
com.flowable.agent.engine.impl.runtime.invocation.BaseAgentInvocationContext
com.flowable.agent.engine.impl.runtime.invocation.AgentInvocationContextImpl
- All Implemented Interfaces:
AgentInvocationContext
-
Nested Class Summary
Nested classes/interfaces inherited from interface AgentInvocationContext
AgentInvocationContext.MediaItem -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AgentDefinitionModelprotected AgentInstanceprotected Stringprotected List<org.flowable.content.api.ContentItem> protected final Dateprotected Stringprotected Stringprotected GuardrailResultprotected Stringprotected List<KnowledgeBaseDefinition> protected List<AgentInvocationContext.MediaItem> protected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Collection<String> protected Stringprotected StringFields inherited from class BaseAgentInvocationContext
agentEngineConfiguration -
Constructor Summary
ConstructorsConstructorDescriptionAgentInvocationContextImpl(AgentEngineConfiguration agentEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionList<org.flowable.content.api.ContentItem> Returns variables that are exclusively passed to guardrail agents.getMedia()booleanWhether the automatic (async) evaluator dispatch is suppressed for this invocation.voidsetAgentDefinitionModel(AgentDefinitionModel agentDefinitionModel) voidsetAgentInstance(AgentInstance agentInstance) voidsetAgentOperationKey(String agentOperationKey) voidsetContentItems(List<org.flowable.content.api.ContentItem> contentItems) voidsetEventCompletion(String eventDefinitionKey, String eventCorrelationKey) voidsetGuardrailResult(GuardrailResult guardrailResult) voidsetGuardrailVariables(Map<String, Object> guardrailVariables) voidsetInvocationId(String invocationId) voidsetKnowledgeBaseDefinition(KnowledgeBaseDefinition knowledgeBaseDefinition) voidsetOutputSchema(String outputSchema) voidsetParentDeploymentId(String parentDeploymentId) voidsetResolvedInputParameters(Map<String, Object> resolvedInputParameters) voidsetSkipEvaluators(boolean skipEvaluators) voidsetSystemMessage(String systemMessage) voidsetTenantId(String tenantId) voidsetUserGroupKeys(Collection<String> userGroupKeys) voidvoidsetUserMessage(String userMessage) Methods inherited from class BaseAgentInvocationContext
invoke
-
Field Details
-
creationTime
-
agentInstance
-
invocationId
-
userId
-
parentDeploymentId
-
agentDefinitionModel
-
agentOperationKey
-
outputSchema
-
userMessage
-
systemMessage
-
knowledgeBaseDefinitions
-
tenantId
-
userGroupKeys
-
media
-
contentItems
-
eventDefinitionKey
-
eventCorrelationKey
-
resolvedInputParameters
-
guardrailVariables
-
guardrailResult
-
skipEvaluators
protected boolean skipEvaluators
-
-
Constructor Details
-
AgentInvocationContextImpl
-
-
Method Details
-
getInvocationId
-
setInvocationId
- Specified by:
setInvocationIdin classBaseAgentInvocationContext
-
getCreationTime
-
getAgentInstanceId
-
getAgentInstance
-
setAgentInstance
- Specified by:
setAgentInstancein classBaseAgentInvocationContext
-
getAgentDefinitionModel
-
setAgentDefinitionModel
- Specified by:
setAgentDefinitionModelin classBaseAgentInvocationContext
-
getAgentOperationKey
-
setAgentOperationKey
- Specified by:
setAgentOperationKeyin classBaseAgentInvocationContext
-
getOutputSchema
-
setOutputSchema
- Specified by:
setOutputSchemain classBaseAgentInvocationContext
-
getKnowledgeBaseDefinitions
-
setKnowledgeBaseDefinition
- Specified by:
setKnowledgeBaseDefinitionin classBaseAgentInvocationContext
-
getTenantId
-
setTenantId
- Specified by:
setTenantIdin classBaseAgentInvocationContext
-
getUserId
-
setUserId
- Specified by:
setUserIdin classBaseAgentInvocationContext
-
getParentDeploymentId
-
setParentDeploymentId
- Specified by:
setParentDeploymentIdin classBaseAgentInvocationContext
-
getUserGroupKeys
-
setUserGroupKeys
- Specified by:
setUserGroupKeysin classBaseAgentInvocationContext
-
getUserMessage
-
setUserMessage
- Specified by:
setUserMessagein interfaceAgentInvocationContext- Specified by:
setUserMessagein classBaseAgentInvocationContext
-
getSystemMessage
-
setSystemMessage
- Specified by:
setSystemMessagein classBaseAgentInvocationContext
-
getMedia
-
getContentItems
-
setContentItems
- Specified by:
setContentItemsin classBaseAgentInvocationContext
-
getEventDefinitionKey
-
getEventCorrelationKey
-
setEventCompletion
- Specified by:
setEventCompletionin classBaseAgentInvocationContext
-
getResolvedInputParameters
-
setResolvedInputParameters
- Specified by:
setResolvedInputParametersin classBaseAgentInvocationContext
-
getGuardrailVariables
Description copied from interface:AgentInvocationContextReturns variables that are exclusively passed to guardrail agents. These are kept separate from the regular input parameters so the parent agent cannot reference them in its system/user message templates. -
setGuardrailVariables
- Specified by:
setGuardrailVariablesin classBaseAgentInvocationContext
-
getGuardrailResult
-
setGuardrailResult
-
isSkipEvaluators
public boolean isSkipEvaluators()Description copied from interface:AgentInvocationContextWhether the automatic (async) evaluator dispatch is suppressed for this invocation. Defaults tofalse(auto-dispatch on). -
setSkipEvaluators
public void setSkipEvaluators(boolean skipEvaluators) - Specified by:
setSkipEvaluatorsin classBaseAgentInvocationContext
-