Class OpenAiModerationProperties
java.lang.Object
org.springframework.ai.autoconfigure.openai.OpenAiModerationProperties
@ConfigurationProperties("spring.ai.openai.moderation")
public class OpenAiModerationProperties
extends Object
OpenAI Moderation autoconfiguration properties.
- Since:
- 0.9.0
- Author:
- Ahmed Yousri
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setBaseUrl
(String baseUrl) void
setOptions
(OpenAiModerationOptions options) void
setOrganizationId
(String organizationId) void
setProjectId
(String projectId)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
OpenAiModerationProperties
public OpenAiModerationProperties()
-
-
Method Details
-
getOptions
-
setOptions
-
getApiKey
-
setApiKey
-
getBaseUrl
-
setBaseUrl
-
getProjectId
-
setProjectId
-
getOrganizationId
-
setOrganizationId
-