Class AzureOpenAiAutoConfiguration

java.lang.Object
org.springframework.ai.autoconfigure.azure.openai.AzureOpenAiAutoConfiguration

@AutoConfiguration @ConditionalOnClass(com.azure.ai.openai.OpenAIClientBuilder.class) @EnableConfigurationProperties(AzureOpenAiProperties.class) public class AzureOpenAiAutoConfiguration extends Object
  • Constructor Details

    • AzureOpenAiAutoConfiguration

      public AzureOpenAiAutoConfiguration(AzureOpenAiProperties azureOpenAiProperties)
  • Method Details

    • msoftSdkOpenAiClient

      @Bean @ConditionalOnMissingBean public com.azure.ai.openai.OpenAIClient msoftSdkOpenAiClient(AzureOpenAiProperties azureOpenAiProperties)
    • azureOpenAiClient

      @Bean public AzureOpenAiClient azureOpenAiClient(com.azure.ai.openai.OpenAIClient msoftSdkOpenAiClient)