12 references to new
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 635yield return CreateUpdate(new AIContent { RawRepresentation = outputItemDoneUpdate.Item }); 1741content = 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") },