Implemented interface members:
9 references to Count
Microsoft.Extensions.AI.Abstractions.Tests (5)
AdditionalPropertiesDictionaryTests.cs (3)
22
Assert.Equal(2, d.
Count
);
37
Assert.Equal(3, d.
Count
);
120
Assert.Equal(NumProperties, d.
Count
);
ChatCompletion\StreamingChatCompletionUpdateExtensionsTests.cs (2)
75
Assert.Equal(2, message.AdditionalProperties.
Count
);
83
Assert.Equal(3, message.AdditionalProperties.
Count
);
Microsoft.Extensions.AI.OpenAI (3)
OpenAIEmbeddingGenerator.cs (1)
147
if (options?.AdditionalProperties is {
Count
: > 0 } additionalProperties)
OpenAIModelMapper.ChatCompletion.cs (2)
258
if (options.AdditionalProperties is {
Count
: > 0 } additionalProperties)
458
if (usageDetails.AdditionalCounts is {
Count
: > 0 } additionalCounts)
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\FunctionInvokingChatClientTests.cs (1)
630
Assert.Equal(2, actualUsage.AdditionalCounts!.
Count
);