AzureOpenAIServiceCollectionExtensions Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides extension methods for IServiceCollection to configure Azure OpenAI connectors.

C#
public static class AzureOpenAIServiceCollectionExtensions
Inheritance
AzureOpenAIServiceCollectionExtensions

Methods

AddAzureOpenAIAudioToText(IServiceCollection, String, AzureOpenAIClient, String, String)

Adds the AzureOpenAIAudioToTextService to the IServiceCollection.

AddAzureOpenAIAudioToText(IServiceCollection, String, String, String, String, String)

Adds the AzureOpenAIAudioToTextService to the IServiceCollection.

AddAzureOpenAIAudioToText(IServiceCollection, String, String, TokenCredential, String, String)

Adds the AzureOpenAIAudioToTextService to the IServiceCollection.

AddAzureOpenAIChatCompletion(IServiceCollection, String, AzureOpenAIClient, String, String)

Adds the AzureOpenAIChatCompletionService to the IServiceCollection.

AddAzureOpenAIChatCompletion(IServiceCollection, String, String, String, String, String)

Adds the AzureOpenAIChatCompletionService to the IServiceCollection.

AddAzureOpenAIChatCompletion(IServiceCollection, String, String, TokenCredential, String, String)

Adds the AzureOpenAIChatCompletionService to the IServiceCollection.

AddAzureOpenAITextEmbeddingGeneration(IServiceCollection, String, AzureOpenAIClient, String, String, Nullable<Int32>)

Adds the AzureOpenAITextEmbeddingGenerationService to the IServiceCollection.

AddAzureOpenAITextEmbeddingGeneration(IServiceCollection, String, String, String, String, String, Nullable<Int32>)

Adds the AzureOpenAITextEmbeddingGenerationService to the IServiceCollection.

AddAzureOpenAITextEmbeddingGeneration(IServiceCollection, String, String, TokenCredential, String, String, Nullable<Int32>)

Adds the AzureOpenAITextEmbeddingGenerationService to the IServiceCollection.

AddAzureOpenAITextToAudio(IServiceCollection, String, String, String, String, String, HttpClient)

Adds the AzureOpenAITextToAudioService to the IServiceCollection.

AddAzureOpenAITextToImage(IServiceCollection, String, AzureOpenAIClient, String, String)

Adds the AzureOpenAITextToImageService to the IServiceCollection.

AddAzureOpenAITextToImage(IServiceCollection, String, String, String, String, String, Int32)

Adds the AzureOpenAITextToImageService to the IServiceCollection.

AddAzureOpenAITextToImage(IServiceCollection, String, String, TokenCredential, String, String, String)

Adds the AzureOpenAITextToImageService to the IServiceCollection.

Applies to

Proizvod Verzije
Semantic Kernel Dotnet Latest