11 references to new
Microsoft.Extensions.AI.Abstractions.Tests (3)
Contents\AIContentTests.cs (3)
15
AIContent c =
new
();
23
AIContent c =
new
();
39
AIContent original =
new
()
Microsoft.Extensions.AI.OpenAI (4)
OpenAIResponsesChatClient.cs (4)
238
message.Contents.Add(
new
() { RawRepresentation = outputItem });
409
yield return CreateUpdate(new
AIContent
{ RawRepresentation = mtdli });
433
AIContent annotatedContent =
new
();
1166
results.Add(
new
() { RawRepresentation = part });
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAIConversionTests.cs (4)
563
new
AIContent
{ RawRepresentation = ResponseItem.CreateWebSearchCallItem() },
564
new
AIContent
{ RawRepresentation = ResponseItem.CreateReferenceItem("123") },
571
new
AIContent
{ RawRepresentation = ResponseItem.CreateReasoningItem("text") },
575
new
AIContent
{ RawRepresentation = ResponseItem.CreateSystemMessageItem("test") },