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 Details

  • Constructor Details

    • OpenAiModerationProperties

      public OpenAiModerationProperties()
  • Method Details

    • getOptions

      public OpenAiModerationOptions getOptions()
    • setOptions

      public void setOptions(OpenAiModerationOptions options)
    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
    • getBaseUrl

      public String getBaseUrl()
    • setBaseUrl

      public void setBaseUrl(String baseUrl)
    • getProjectId

      public String getProjectId()
    • setProjectId

      public void setProjectId(String projectId)
    • getOrganizationId

      public String getOrganizationId()
    • setOrganizationId

      public void setOrganizationId(String organizationId)