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)
246message.Contents.Add(new() { RawRepresentation = outputItem }); 469AIContent annotatedContent = new(); // do not include RawRepresentation to avoid duplication with already yielded deltas 497yield return CreateUpdate(new AIContent { RawRepresentation = outputItemDoneUpdate.Item }); 1310content = new();
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIConversionTests.cs (4)
766new AIContent { RawRepresentation = ResponseItem.CreateWebSearchCallItem() }, 767new AIContent { RawRepresentation = ResponseItem.CreateReferenceItem("123") }, 774new AIContent { RawRepresentation = ResponseItem.CreateReasoningItem("text") }, 778new AIContent { RawRepresentation = ResponseItem.CreateSystemMessageItem("test") },