50 references to ChatResponseUpdate
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions (2)
Microsoft.Extensions.AI.Abstractions.Tests (26)
ChatCompletion\ChatResponseUpdateExtensionsTests.cs (22)
35new() { Contents = [new UsageContent(new() { InputTokenCount = 1, OutputTokenCount = 2 })] },
36new() { Contents = [new UsageContent(new() { InputTokenCount = 4, OutputTokenCount = 5 })] },
187updates.Add(new() { Contents = [new DataContent("data:image/png;base64,aGVsbG8=")] });
217new() { Contents = [new TextReasoningContent("D")] },
218new() { Contents = [new TextReasoningContent("E")] },
219new() { Contents = [new TextReasoningContent("F")] },
222new() { Contents = [new TextReasoningContent("I")] },
223new() { Contents = [new TextReasoningContent("J")] },
225new() { Contents = [new TextReasoningContent("L")] },
228new() { Contents = [new TextReasoningContent("O")] },
229new() { Contents = [new TextReasoningContent("P")] },
255new() { Contents = [new TextContent("D") { Annotations = [new()] }] },
256new() { Contents = [new TextContent("E") { Annotations = [new()] }] },
257new() { Contents = [new TextContent("F") { Annotations = [new()] }] },
258new() { Contents = [new TextContent("G") { Annotations = [] }] },
259new() { Contents = [new TextContent("H") { Annotations = [] }] },
260new() { Contents = [new TextContent("I") { Annotations = [new()] }] },
261new() { Contents = [new TextContent("J") { Annotations = [new()] }] },
263new() { Contents = [new TextContent("L") { Annotations = [new()] }] },
266new() { Contents = [new TextContent("O") { Annotations = [new()] }] },
267new() { Contents = [new TextContent("P") { Annotations = [new()] }] },
294new() { Contents = [new UsageContent(new() { TotalTokenCount = 42 })] },
Microsoft.Extensions.AI.AzureAIInference (2)
Microsoft.Extensions.AI.OpenAI (4)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Extensions.AI.Tests (14)