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