Base:
method
GetResponseAsync
Microsoft.Extensions.AI.DelegatingChatClient.GetResponseAsync(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage>, Microsoft.Extensions.AI.ChatOptions, System.Threading.CancellationToken)
6 references to GetResponseAsync
Microsoft.Extensions.AI.Tests (6)
ChatCompletion\ImageGeneratingChatClientTests.cs (6)
52var response = await client.GetResponseAsync([new(ChatRole.User, "test")], chatOptions); 89var response = await client.GetResponseAsync([new(ChatRole.User, "test")], chatOptions); 137var response = await client.GetResponseAsync([new(ChatRole.User, "test")], chatOptions); 269var response = await client.GetResponseAsync([new(ChatRole.User, "test")], null); 297await client.GetResponseAsync([new(ChatRole.User, "test")], chatOptions); 331var response = await client.GetResponseAsync([new(ChatRole.User, "test")], chatOptions);