Class ExternalAgentModelInvoker
java.lang.Object
com.flowable.agent.engine.impl.model.external.ExternalAgentModelInvoker
- All Implemented Interfaces:
AiModelInvoker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AgentEngineConfigurationprotected FlowableAuthenticationApiKeystatic final longprotected ExternalAgentInvokerprotected com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
ConstructorsConstructorDescriptionExternalAgentModelInvoker(AgentEngineConfiguration agentEngineConfiguration, ExternalAgentInvoker externalAgentInvoker, FlowableAuthenticationApiKey authenticationApiKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.ai.converter.StructuredOutputConverter<com.fasterxml.jackson.databind.JsonNode> getOutputConverter(AgentInvocationContext agentInvocationContext) invoke(AgentInvocationContext agentInvocationContext)
-
Field Details
-
DEFAULT_EXTERNAL_AGENT_TIMEOUT_SECONDS
public static final long DEFAULT_EXTERNAL_AGENT_TIMEOUT_SECONDS- See Also:
-
agentEngineConfiguration
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper -
externalAgentInvoker
-
authenticationApiKey
-
-
Constructor Details
-
ExternalAgentModelInvoker
public ExternalAgentModelInvoker(AgentEngineConfiguration agentEngineConfiguration, ExternalAgentInvoker externalAgentInvoker, FlowableAuthenticationApiKey authenticationApiKey)
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceAiModelInvoker
-
getAuthenticationApiKey
-
getExternalAgentInvoker
-
getOutputConverter
protected org.springframework.ai.converter.StructuredOutputConverter<com.fasterxml.jackson.databind.JsonNode> getOutputConverter(AgentInvocationContext agentInvocationContext)
-