Class RunEvaluationCmd
java.lang.Object
com.flowable.agent.engine.impl.cmd.RunEvaluationCmd
- All Implemented Interfaces:
org.flowable.common.engine.impl.interceptor.Command<Void>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EvaluatorTranscriptbuildEvaluatorTranscript(AgentEngineConfiguration engineConfiguration, String invocationId) execute(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected StringgetExchangePartContent(AgentHistoryService agentHistoryService, String exchangeId, String partType, String... partSubTypes) protected AgentDefinitionModel.EvaluatorReferenceresolveEvaluatorReference(AgentEngineConfiguration engineConfiguration, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, AgentInvocationEvaluationEntity evaluation) protected voidsetOutput(AgentHistoryService agentHistoryService, String invocationId, EvaluatorTranscript.Builder builder) protected voidsetSystemPrompt(AgentHistoryService agentHistoryService, String invocationId, EvaluatorTranscript.Builder builder) protected voidsetUserPrompt(AgentHistoryService agentHistoryService, String invocationId, EvaluatorTranscript.Builder builder)
-
Field Details
-
evaluationId
-
-
Constructor Details
-
RunEvaluationCmd
-
-
Method Details
-
execute
-
resolveEvaluatorReference
protected AgentDefinitionModel.EvaluatorReference resolveEvaluatorReference(AgentEngineConfiguration engineConfiguration, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, AgentInvocationEvaluationEntity evaluation) -
buildEvaluatorTranscript
protected EvaluatorTranscript buildEvaluatorTranscript(AgentEngineConfiguration engineConfiguration, String invocationId) -
setOutput
protected void setOutput(AgentHistoryService agentHistoryService, String invocationId, EvaluatorTranscript.Builder builder) -
setUserPrompt
protected void setUserPrompt(AgentHistoryService agentHistoryService, String invocationId, EvaluatorTranscript.Builder builder) -
setSystemPrompt
protected void setSystemPrompt(AgentHistoryService agentHistoryService, String invocationId, EvaluatorTranscript.Builder builder) -
getExchangePartContent
protected String getExchangePartContent(AgentHistoryService agentHistoryService, String exchangeId, String partType, String... partSubTypes)
-