5 references to ChatResponse
Microsoft.Extensions.AI (1)
ChatCompletion\ChatResponse{T}.cs (1)
34
:
base
(Throw.IfNull(response).Choices)
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\ChatResponseTests.cs (2)
17
Assert.Throws<ArgumentNullException>("choices", () => new
ChatResponse
((IList<ChatMessage>)null!));
40
ChatResponse response =
new
(messages);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
136
return new
ChatResponse
(returnMessages)
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\ConfigureOptionsChatClientTests.cs (1)
37
ChatResponse expectedResponse =
new
(Array.Empty<ChatMessage>());