Share via


AzureAIInferenceExtensions.AsChatClient(ChatCompletionsClient, String) Method

Definition

public static Microsoft.Extensions.AI.IChatClient AsChatClient (this Azure.AI.Inference.ChatCompletionsClient chatCompletionsClient, string? modelId = default);
static member AsChatClient : Azure.AI.Inference.ChatCompletionsClient * string -> Microsoft.Extensions.AI.IChatClient
<Extension()>
Public Function AsChatClient (chatCompletionsClient As ChatCompletionsClient, Optional modelId As String = Nothing) As IChatClient

Parameters

chatCompletionsClient
ChatCompletionsClient
modelId
String

Returns

Applies to