Class OpenAiModerationProperties
java.lang.Object
org.springframework.ai.openai.AbstractOpenAiOptions
org.springframework.ai.model.openai.autoconfigure.OpenAiModerationProperties
@ConfigurationProperties("spring.ai.openai.moderation")
public class OpenAiModerationProperties
extends AbstractOpenAiOptions
OpenAI SDK Moderation autoconfiguration properties.
- Author:
- Ahmed Yousri, Ilayaperumal Gopinathan
-
Field Summary
FieldsFields inherited from class org.springframework.ai.openai.AbstractOpenAiOptions
DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.ai.openai.AbstractOpenAiOptions
getApiKey, getBaseUrl, getCredential, getCustomHeaders, getDeploymentName, getMaxRetries, getMicrosoftDeploymentName, getMicrosoftFoundryServiceVersion, getModel, getOrganizationId, getProxy, getTimeout, isGitHubModels, isMicrosoftFoundry, setApiKey, setBaseUrl, setCredential, setCustomHeaders, setDeploymentName, setGitHubModels, setMaxRetries, setMicrosoftDeploymentName, setMicrosoftFoundry, setMicrosoftFoundryServiceVersion, setModel, setOrganizationId, setProxy, setTimeout
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
OpenAiModerationProperties
public OpenAiModerationProperties()
-
-
Method Details
-
getOptions
-