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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionazureOpenAiClient
(com.azure.ai.openai.OpenAIClient msoftSdkOpenAiClient) azureOpenAiEmbeddingClient
(com.azure.ai.openai.OpenAIClient msoftSdkOpenAiClient) com.azure.ai.openai.OpenAIClient
msoftSdkOpenAiClient
(AzureOpenAiProperties azureOpenAiProperties)
-
Constructor Details
-
AzureOpenAiAutoConfiguration
-
-
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) -
azureOpenAiEmbeddingClient
@Bean public AzureOpenAiEmbeddingClient azureOpenAiEmbeddingClient(com.azure.ai.openai.OpenAIClient msoftSdkOpenAiClient)
-