Partager via


AzureAIInferenceExtensions Class

Definition

Provides extension methods for working with Azure AI Inference.

public ref class AzureAIInferenceExtensions abstract sealed
public static class AzureAIInferenceExtensions
type AzureAIInferenceExtensions = class
Public Module AzureAIInferenceExtensions
Inheritance
AzureAIInferenceExtensions

Methods

AsChatClient(ChatCompletionsClient, String)

Gets an IChatClient for use with this ChatCompletionsClient.

AsEmbeddingGenerator(EmbeddingsClient, String, Nullable<Int32>)

Gets an IEmbeddingGenerator<TInput,TEmbedding> for use with this EmbeddingsClient.

Applies to