Class AiEvaluationBuilderImpl
java.lang.Object
com.flowable.agent.engine.impl.runtime.AiEvaluationBuilderImpl
- All Implemented Interfaces:
AiEvaluationBuilder,org.flowable.common.engine.impl.interceptor.Command<Void>
public class AiEvaluationBuilderImpl
extends Object
implements AiEvaluationBuilder, org.flowable.common.engine.impl.interceptor.Command<Void>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAiEvaluationBuilderImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor, String agentInstanceId, String referenceId, String referenceType) -
Method Summary
Modifier and TypeMethodDescriptionThe AI Activation analysis normally runs always after each regular CMMN operation.voidevaluate()execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) static AiEvaluationBuilderforAgentInstance(String agentInstanceId, org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) static AiEvaluationBuilderforReference(String referenceId, String referenceType, org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) The intent evaluation normally only runs when e.g. a chat message comes in, a document is uploaded, etc.includeIntentEvaluation(String evaluationReason) The intent evaluation normally only runs when e.g. a chat message comes in, a document is uploaded, etc.protected AgentInstanceretrieveAgentInstance(AgentEngineConfiguration agentEngineConfiguration)
-
Field Details
-
commandExecutor
protected final org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor -
agentInstanceId
-
referenceId
-
referenceType
-
includeIntentEvaluation
protected boolean includeIntentEvaluation -
intentMetadata
-
disableAiActivationEvaluation
protected boolean disableAiActivationEvaluation
-
-
Constructor Details
-
AiEvaluationBuilderImpl
-
-
Method Details
-
includeIntentEvaluation
Description copied from interface:AiEvaluationBuilderThe intent evaluation normally only runs when e.g. a chat message comes in, a document is uploaded, etc. Using this method will force such an intent evaluation.- Specified by:
includeIntentEvaluationin interfaceAiEvaluationBuilder
-
includeIntentEvaluation
Description copied from interface:AiEvaluationBuilderThe intent evaluation normally only runs when e.g. a chat message comes in, a document is uploaded, etc. Using this method will force such an intent evaluation using the provided evaluation reason.- Specified by:
includeIntentEvaluationin interfaceAiEvaluationBuilder
-
disableAiActivationEvaluation
Description copied from interface:AiEvaluationBuilderThe AI Activation analysis normally runs always after each regular CMMN operation. Using this method will disable the AI Activation analysis.- Specified by:
disableAiActivationEvaluationin interfaceAiEvaluationBuilder
-
evaluate
public void evaluate()- Specified by:
evaluatein interfaceAiEvaluationBuilder
-
execute
- Specified by:
executein interfaceorg.flowable.common.engine.impl.interceptor.Command<Void>
-
retrieveAgentInstance
-
getAgentInstanceId
-
forAgentInstance
public static AiEvaluationBuilder forAgentInstance(String agentInstanceId, org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) -
forReference
public static AiEvaluationBuilder forReference(String referenceId, String referenceType, org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-