4 references to AzureAIInferenceChatClient
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceExtensions.cs (1)
17new AzureAIInferenceChatClient(chatCompletionsClient, modelId);
Microsoft.Extensions.AI.AzureAIInference.Tests (3)
AzureAIInferenceChatClientTests.cs (3)
29Assert.Throws<ArgumentNullException>("chatCompletionsClient", () => new AzureAIInferenceChatClient(null!, "model")); 32Assert.Throws<ArgumentException>("modelId", () => new AzureAIInferenceChatClient(client, " ")); 38using AzureAIInferenceChatClient client = new(new(new("http://somewhere"), new AzureKeyCredential("key")), "mode");