16 references to AIContent
Microsoft.Extensions.AI.Abstractions.Tests (3)
Contents\AIContentTests.cs (3)
15AIContent c = new(); 23AIContent c = new(); 39AIContent original = new()
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (1)
ScenarioRunResultTests.cs (1)
237new AIContent(),
Microsoft.Extensions.AI.OpenAI (4)
OpenAIResponsesChatClient.cs (4)
313message.Contents.Add(new() { RawRepresentation = outputItem }); 588AIContent annotatedContent = new(); // do not include RawRepresentation to avoid duplication with already yielded deltas 644yield return CreateUpdate(new AIContent { RawRepresentation = outputItemDoneUpdate.Item }); 1750content = new();
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIConversionTests.cs (4)
851new AIContent { RawRepresentation = ResponseItem.CreateWebSearchCallItem() }, 852new AIContent { RawRepresentation = ResponseItem.CreateReferenceItem("123") }, 859new AIContent { RawRepresentation = ResponseItem.CreateReasoningItem("text") }, 863new AIContent { RawRepresentation = ResponseItem.CreateSystemMessageItem("test") },
Microsoft.Extensions.Documents.Abstractions.Tests (4)
DocumentTests.StandardContent.cs (2)
110section.Elements.Add(new CustomElement(new AIContent())); 327AIContent payload = new();
PreviewContractTests.cs (2)
24foreach (AIContent invalid in new AIContent[] { new(), new DataContent(new byte[] { 1 }, "image/png"), new UriContent("urn:asset", "image/png") }) 47AIContent payload = new();