4 writes to TopK
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
77TopK = TopK,
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\ChatOptionsTests.cs (2)
71options.TopK = 42; 131options.TopK = 42;
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
114TopK = 7,
9 references to TopK
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
263if (options.TopK is int topK)
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
77TopK = TopK,
Microsoft.Extensions.AI.Abstractions.Tests (5)
ChatCompletion\ChatOptionsTests.cs (5)
19Assert.Null(options.TopK); 34Assert.Null(clone.TopK); 85Assert.Equal(42, options.TopK); 100Assert.Equal(42, clone.TopK); 154Assert.Equal(42, deserialized.TopK);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
313if (options.TopK is int topK)
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
324if (options.TopK is int topK)