Interface AgentInvocationContext
- All Known Implementing Classes:
AgentInvocationContextImpl, BaseAgentInvocationContext, NontransactionalAgentInvocationContext
public interface AgentInvocationContext
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionList<org.flowable.content.api.ContentItem> Returns variables that are exclusively passed to guardrail agents.getMedia()invoke()booleanWhether the automatic (async) evaluator dispatch is suppressed for this invocation.voidsetGuardrailResult(GuardrailResult guardrailResult) voidsetUserMessage(String userMessage)
-
Method Details
-
getInvocationId
String getInvocationId() -
getCreationTime
Date getCreationTime() -
getAgentInstanceId
String getAgentInstanceId() -
getAgentInstance
AgentInstance getAgentInstance() -
getAgentDefinitionModel
AgentDefinitionModel getAgentDefinitionModel() -
getAgentOperationKey
String getAgentOperationKey() -
getOutputSchema
String getOutputSchema() -
getSystemMessage
String getSystemMessage() -
getUserMessage
String getUserMessage() -
setUserMessage
-
getKnowledgeBaseDefinitions
List<KnowledgeBaseDefinition> getKnowledgeBaseDefinitions() -
getTenantId
String getTenantId() -
getUserId
String getUserId() -
getParentDeploymentId
String getParentDeploymentId() -
getUserGroupKeys
Collection<String> getUserGroupKeys() -
getMedia
List<AgentInvocationContext.MediaItem> getMedia() -
getContentItems
List<org.flowable.content.api.ContentItem> getContentItems() -
getEventDefinitionKey
String getEventDefinitionKey() -
getEventCorrelationKey
String getEventCorrelationKey() -
getResolvedInputParameters
-
getGuardrailVariables
-
getGuardrailResult
GuardrailResult getGuardrailResult() -
setGuardrailResult
-
isSkipEvaluators
boolean isSkipEvaluators()Whether the automatic (async) evaluator dispatch is suppressed for this invocation. Defaults tofalse(auto-dispatch on). -
invoke
AgentInvocationResultResponse invoke()
-