Interface AgentInvocationContext

All Known Implementing Classes:
AgentInvocationContextImpl, BaseAgentInvocationContext, NontransactionalAgentInvocationContext

public interface AgentInvocationContext
  • 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

      void setUserMessage(String userMessage)
    • getKnowledgeBaseDefinitions

      List<KnowledgeBaseDefinition> getKnowledgeBaseDefinitions()
    • getTenantId

      String getTenantId()
    • getUserId

      String getUserId()
    • getParentDeploymentId

      String getParentDeploymentId()
    • getUserGroupKeys

      Collection<String> getUserGroupKeys()
    • getMedia

    • getContentItems

      List<org.flowable.content.api.ContentItem> getContentItems()
    • getEventDefinitionKey

      String getEventDefinitionKey()
    • getEventCorrelationKey

      String getEventCorrelationKey()
    • getResolvedInputParameters

      Map<String,Object> getResolvedInputParameters()
    • getGuardrailVariables

      Map<String,Object> getGuardrailVariables()
      Returns 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.
    • getGuardrailResult

      GuardrailResult getGuardrailResult()
    • setGuardrailResult

      void setGuardrailResult(GuardrailResult guardrailResult)
    • isSkipEvaluators

      boolean isSkipEvaluators()
      Whether the automatic (async) evaluator dispatch is suppressed for this invocation. Defaults to false (auto-dispatch on).
    • invoke