Class BaseAgentModelSettings
java.lang.Object
com.flowable.agent.engine.impl.model.BaseAgentModelSettings
- All Implemented Interfaces:
AgentDefinitionModel.AgentModelSettings
- Direct Known Subclasses:
AgentConnectionAgentModelSettings, AnthropicAgentModelSettings, AzureOpenAiAgentModelSettings, OpenAiAgentModelSettings
public class BaseAgentModelSettings
extends Object
implements AgentDefinitionModel.AgentModelSettings
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected AgentDefinitionModel.Credentialsprotected FlowableAuthenticationApiKeyprotected AgentAuthenticationprotected List<AgentDefinitionModel.CustomHeader> protected booleanprotected Double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAiVendor(String aiVendor) voidvoidsetApiKeyValueProvider(FlowableAuthenticationApiKey apiKeyValueProvider) voidsetAuthentication(AgentAuthentication authentication) voidsetCustomHeaders(List<AgentDefinitionModel.CustomHeader> customHeaders) voidsetDisableStructuredOutput(boolean disableStructuredOutput) voidsetSupportedMimeTypes(List<String> supportedMimeTypes) voidsetTemperature(Double temperature) toString()
-
Field Details
-
aiVendor
-
temperature
-
supportedMimeTypes
-
disableStructuredOutput
protected boolean disableStructuredOutput -
apiKey
-
authentication
-
apiKeyValueProvider
-
customHeaders
-
-
Constructor Details
-
BaseAgentModelSettings
public BaseAgentModelSettings()
-
-
Method Details
-
getAiVendor
- Specified by:
getAiVendorin interfaceAgentDefinitionModel.AgentModelSettings
-
setAiVendor
-
getTemperature
- Specified by:
getTemperaturein interfaceAgentDefinitionModel.AgentModelSettings
-
setTemperature
-
getSupportedMimeTypes
- Specified by:
getSupportedMimeTypesin interfaceAgentDefinitionModel.AgentModelSettings
-
setSupportedMimeTypes
-
getApiKey
- Specified by:
getApiKeyin interfaceAgentDefinitionModel.AgentModelSettings
-
setApiKey
-
getAuthentication
-
setAuthentication
-
getApiKeyValueProvider
-
setApiKeyValueProvider
-
isDisableStructuredOutput
public boolean isDisableStructuredOutput()- Specified by:
isDisableStructuredOutputin interfaceAgentDefinitionModel.AgentModelSettings
-
setDisableStructuredOutput
public void setDisableStructuredOutput(boolean disableStructuredOutput) -
getCustomHeaders
- Specified by:
getCustomHeadersin interfaceAgentDefinitionModel.AgentModelSettings
-
setCustomHeaders
-
toString
-