Class OpenAiChatProperties

java.lang.Object
org.springframework.ai.autoconfigure.openai.OpenAiChatProperties

@ConfigurationProperties("spring.ai.openai.chat") public class OpenAiChatProperties extends Object
  • Field Details

  • Constructor Details

    • OpenAiChatProperties

      public OpenAiChatProperties()
  • Method Details

    • getOptions

      public OpenAiChatOptions getOptions()
    • setOptions

      public void setOptions(OpenAiChatOptions options)
    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getCompletionsPath

      public String getCompletionsPath()
    • setCompletionsPath

      public void setCompletionsPath(String completionsPath)
    • 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)