24 references to new
Microsoft.Extensions.AI.Abstractions.Tests (22)
AdditionalPropertiesDictionaryTests.cs (2)
15
AdditionalPropertiesDictionary d =
new
();
28
AdditionalPropertiesDictionary d =
new
()
ChatCompletion\ChatCompletionTests.cs (3)
214
AdditionalProperties =
new
() { ["key1"] = "value1", ["key2"] = 42 },
246
AdditionalProperties =
new
() { ["choice1Key"] = "choice1Value" },
255
AdditionalProperties =
new
() { ["choice2Key"] = "choice2Value" },
ChatCompletion\ChatMessageTests.cs (7)
266
AdditionalProperties =
new
() { ["metadata-key-1"] = "metadata-value-1" }
270
AdditionalProperties =
new
() { ["metadata-key-2"] = "metadata-value-2" }
274
AdditionalProperties =
new
() { ["metadata-key-3"] = "metadata-value-3" }
278
AdditionalProperties =
new
() { ["metadata-key-4"] = "metadata-value-4" }
282
AdditionalProperties =
new
() { ["metadata-key-5"] = "metadata-value-5" }
286
AdditionalProperties =
new
() { ["metadata-key-6"] = "metadata-value-6" }
297
AdditionalProperties =
new
() { ["message-metadata-key-1"] = "message-metadata-value-1" },
ChatCompletion\ChatOptionsTests.cs (2)
63
AdditionalPropertiesDictionary additionalProps =
new
()
123
AdditionalPropertiesDictionary additionalProps =
new
()
ChatCompletion\StreamingChatCompletionUpdateTests.cs (1)
65
AdditionalPropertiesDictionary props =
new
() { ["key"] = "value" };
Contents\AIContentTests.cs (1)
29
AdditionalPropertiesDictionary props =
new
() { { "key", "value" } };
Contents\FunctionCallContentTests..cs (2)
59
AdditionalPropertiesDictionary props =
new
() { { "key", "value" } };
68
AdditionalPropertiesDictionary args =
new
() { { "key", "value" } };
Contents\FunctionResultContentTests.cs (1)
47
AdditionalPropertiesDictionary props =
new
() { { "key", "value" } };
Contents\TextContentTests.cs (1)
33
AdditionalPropertiesDictionary props =
new
() { { "key", "value" } };
Embeddings\EmbeddingGenerationOptionsTests.cs (2)
39
AdditionalPropertiesDictionary additionalProps =
new
()
63
AdditionalPropertiesDictionary additionalProps =
new
()
Microsoft.Extensions.AI.Integration.Tests (1)
ChatClientIntegrationTests.cs (1)
118
AdditionalProperties =
new
()
Microsoft.Extensions.AI.Tests (1)
Embeddings\DistributedCachingEmbeddingGeneratorTest.cs (1)
21
AdditionalProperties =
new
() { ["a"] = "b" },