Class OpenAiDecisionProperties
java.lang.Object
org.springframework.ai.model.openai.autoconfigure.AbstractOpenAiProperties
org.springframework.ai.model.openai.autoconfigure.OpenAiDecisionProperties
@ConfigurationProperties("spring.ai.openai.decision")
public class OpenAiDecisionProperties
extends AbstractOpenAiProperties
Configuration properties for the OpenAI decision model.
- Since:
- 2.1.0
- Author:
- Thomas Vitale
-
Field Summary
FieldsFields inherited from class org.springframework.ai.model.openai.autoconfigure.AbstractOpenAiProperties
DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringvoidsetSafetyIdentifier(@Nullable String safetyIdentifier) Methods inherited from class org.springframework.ai.model.openai.autoconfigure.AbstractOpenAiProperties
getApiKey, getBaseUrl, getCredential, getCustomHeaders, getDeploymentName, getMaxRetries, getMicrosoftDeploymentName, getMicrosoftFoundryServiceVersion, getModel, getOrganizationId, getProxy, getTimeout, isConnectionPoolMetricsEnabled, isGitHubModels, isMicrosoftFoundry, setApiKey, setBaseUrl, setConnectionPoolMetricsEnabled, setCredential, setCustomHeaders, setDeploymentName, setGitHubModels, setMaxRetries, setMicrosoftDeploymentName, setMicrosoftFoundry, setMicrosoftFoundryServiceVersion, setModel, setOrganizationId, setProxy, setTimeout
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
OpenAiDecisionProperties
public OpenAiDecisionProperties()
-
-
Method Details
-
getSafetyIdentifier
-
setSafetyIdentifier
-
toOptions
-