4 writes to TopP
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
76TopP = TopP,
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\ChatOptionsTests.cs (2)
70options.TopP = 0.3f; 130options.TopP = 0.3f;
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
113TopP = 4.0f,
10 references to TopP
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
268if (options.TopP is float top_p)
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
76TopP = TopP,
Microsoft.Extensions.AI.Abstractions.Tests (5)
ChatCompletion\ChatOptionsTests.cs (5)
18Assert.Null(options.TopP); 33Assert.Null(clone.TopP); 84Assert.Equal(0.3f, options.TopP); 99Assert.Equal(0.3f, clone.TopP); 153Assert.Equal(0.3f, deserialized.TopP);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
299result.NucleusSamplingFactor = options.TopP;
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
319if (options.TopP is float topP)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
405result.TopP = options.TopP;