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)
238message.Contents.Add(new() { RawRepresentation = outputItem }); 409yield return CreateUpdate(new AIContent { RawRepresentation = mtdli }); 433AIContent annotatedContent = new(); 1166results.Add(new() { RawRepresentation = part });
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIConversionTests.cs (4)
563new AIContent { RawRepresentation = ResponseItem.CreateWebSearchCallItem() }, 564new AIContent { RawRepresentation = ResponseItem.CreateReferenceItem("123") }, 571new AIContent { RawRepresentation = ResponseItem.CreateReasoningItem("text") }, 575new AIContent { RawRepresentation = ResponseItem.CreateSystemMessageItem("test") },