Freigeben über


AzureOpenAIServiceCollectionExtensions Class

Definition

Provides extension methods for IServiceCollection to configure Azure OpenAI connectors.

public static class AzureOpenAIServiceCollectionExtensions
type AzureOpenAIServiceCollectionExtensions = class
Public Module 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