6 references to ImageContent
Microsoft.Extensions.AI.Abstractions.Tests (5)
ChatCompletion\ChatMessageTests.cs (2)
127
new
ImageContent
("http://localhost/image"),
166
new
ImageContent
("http://localhost/image"),
ChatCompletion\StreamingChatCompletionUpdateTests.cs (3)
95
new
ImageContent
("http://localhost/image"),
140
new
ImageContent
("http://localhost/image"),
172
new
ImageContent
("http://localhost/image"),
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\ChatClientStructuredOutputExtensionsTests.cs (1)
117
var expectedCompletion = new ChatCompletion([new ChatMessage(ChatRole.Assistant, [new
ImageContent
("https://example.com")])]);