Uses of Class
com.flowable.agent.engine.impl.runtime.AgentInvocationResultResponse.Exchange
Packages that use AgentInvocationResultResponse.Exchange
Package
Description
-
Uses of AgentInvocationResultResponse.Exchange in com.flowable.agent.engine.impl.guardrail
Methods in com.flowable.agent.engine.impl.guardrail that return AgentInvocationResultResponse.ExchangeModifier and TypeMethodDescriptionprotected AgentInvocationResultResponse.ExchangeGuardrailValidatingAiModelInvoker.createGuardrailExchange(String subType, String inputContent, String outputContent, Instant startTime, Instant endTime) Creates anAgentInvocationResultResponse.Exchangeof typeguardrailwith the given subType, containing an input part (the content evaluated) and an output part (the result JSON).Methods in com.flowable.agent.engine.impl.guardrail that return types with arguments of type AgentInvocationResultResponse.ExchangeMethod parameters in com.flowable.agent.engine.impl.guardrail with type arguments of type AgentInvocationResultResponse.ExchangeModifier and TypeMethodDescriptionprotected AgentInvocationResultResponseGuardrailValidatingAiModelInvoker.createBlockedResponse(List<AgentInvocationResultResponse.Exchange> guardrailExchanges, GuardrailResult guardrailResult, AgentDefinitionModel.AgentOperation operation) Creates a blocked response when an input guardrail prevents the LLM call.protected AgentInvocationResultResponseGuardrailValidatingAiModelInvoker.createBlockedResponseFromExisting(AgentInvocationResultResponse existingResponse, List<AgentInvocationResultResponse.Exchange> outputGuardrailExchanges, GuardrailResult guardrailResult, AgentDefinitionModel.AgentOperation operation) Creates a blocked response when an output guardrail rejects the LLM response.protected GuardrailResultGuardrailValidatingAiModelInvoker.handleGuardrailFailure(AgentDefinitionModel.GuardrailReference ref, AgentDefinitionModel.AgentOperation operation, String reason, String phase, String sourceLabel, String sourceId, String guardrailKey, String sourceType, List<AgentInvocationResultResponse.Exchange> guardrailExchanges, String guardrailType, String content, Instant startTime, Instant endTime, String sanitizedContent, Double confidence) protected voidGuardrailValidatingAiModelInvoker.prependExchanges(AgentInvocationResultResponse.Invocation invocation, List<AgentInvocationResultResponse.Exchange> exchangesToPrepend) voidFlowableGuardrailViolationException.setGuardrailExchanges(List<AgentInvocationResultResponse.Exchange> guardrailExchanges) protected GuardrailResultGuardrailValidatingAiModelInvoker.validateDelegateExpressionGuardrail(AgentDefinitionModel.GuardrailReference guardrailReference, AgentDefinitionModel.AgentOperation operation, AgentInvocationContext context, String phase, String outputContent, Map<String, Object> parsedOutputParameters, List<AgentInvocationResultResponse.Exchange> guardrailExchanges) protected GuardrailResultGuardrailValidatingAiModelInvoker.validateGuardrailAgent(AgentDefinitionModel.GuardrailReference ref, AgentDefinitionModel.AgentOperation operation, AgentInvocationContext context, String phase, String outputContent, List<AgentInvocationResultResponse.Exchange> guardrailExchanges) protected GuardrailResultGuardrailValidatingAiModelInvoker.validateOperationGuardrails(AgentDefinitionModel.AgentOperation operation, AgentInvocationContext context, String phase, String outputContent, Map<String, Object> parsedOutputParameters, List<AgentInvocationResultResponse.Exchange> guardrailExchanges) Validates guardrails set on the operation in their configured order.protected GuardrailResultGuardrailValidatingAiModelInvoker.validateOutputParameterConstraints(AgentDefinitionModel.AgentOperation operation, Map<String, Object> parsedOutputParameters, AgentInvocationContext context, String outputContent, List<AgentInvocationResultResponse.Exchange> guardrailExchanges) protected GuardrailResultGuardrailValidatingAiModelInvoker.validateWithServiceRegistry(AgentDefinitionModel.GuardrailReference ref, AgentDefinitionModel.AgentOperation operation, AgentInvocationContext context, String phase, String outputContent, List<AgentInvocationResultResponse.Exchange> guardrailExchanges) -
Uses of AgentInvocationResultResponse.Exchange in com.flowable.agent.engine.impl.model.a2a
Methods in com.flowable.agent.engine.impl.model.a2a with parameters of type AgentInvocationResultResponse.ExchangeModifier and TypeMethodDescriptionprotected A2AAgentInvocationResultResponseA2AModelInvoker.createInvocationResultResponseAndAddToExchange(A2AEvent response, boolean hasOutputSchema, AgentInvocationResultResponse.Exchange exchange, AgentInvocationResultResponse.Invocation invocation) protected PartA2AModelInvoker.findResultPartAndAddPartsToExchange(String partType, List<Part> parts, AgentInvocationResultResponse.Exchange exchange) protected PartA2AModelInvoker.getResultPartAndAddMessageToExchange(A2AMessage message, String partType, AgentInvocationResultResponse.Exchange exchange) protected PartA2AModelInvoker.getResultPartAndAddTaskToExchange(A2ATask task, AgentInvocationResultResponse.Exchange exchange) -
Uses of AgentInvocationResultResponse.Exchange in com.flowable.agent.engine.impl.runtime
Fields in com.flowable.agent.engine.impl.runtime with type parameters of type AgentInvocationResultResponse.ExchangeModifier and TypeFieldDescriptionprotected List<AgentInvocationResultResponse.Exchange> AgentInvocationResultResponse.Invocation.exchangesMethods in com.flowable.agent.engine.impl.runtime that return types with arguments of type AgentInvocationResultResponse.ExchangeMethods in com.flowable.agent.engine.impl.runtime with parameters of type AgentInvocationResultResponse.ExchangeModifier and TypeMethodDescriptionvoidAgentInvocationResultResponse.Invocation.addExchange(AgentInvocationResultResponse.Exchange exchange) Method parameters in com.flowable.agent.engine.impl.runtime with type arguments of type AgentInvocationResultResponse.ExchangeModifier and TypeMethodDescriptionvoidAgentInvocationResultResponse.Invocation.setExchanges(List<AgentInvocationResultResponse.Exchange> exchanges)