11 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.OpenAI (4)
OpenAIResponsesChatClient.cs (4)
233message.Contents.Add(new() { RawRepresentation = outputItem }); 447AIContent annotatedContent = new(); // do not include RawRepresentation to avoid duplication with already yielded deltas 466yield return CreateUpdate(new AIContent { RawRepresentation = outputItemDoneUpdate.Item }); 1243content = new();
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIConversionTests.cs (4)
721new AIContent { RawRepresentation = ResponseItem.CreateWebSearchCallItem() }, 722new AIContent { RawRepresentation = ResponseItem.CreateReferenceItem("123") }, 729new AIContent { RawRepresentation = ResponseItem.CreateReasoningItem("text") }, 733new AIContent { RawRepresentation = ResponseItem.CreateSystemMessageItem("test") },