6 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.AzureAIInference.Tests (1)
AzureAIInferenceChatClientTests.cs (1)
288TopP = 0.5f,
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMapper.ChatCompletion.cs (1)
153result.TopP = options.TopP;
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
123TopP = 4.0f,
12 references to TopP
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
269if (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)
301result.NucleusSamplingFactor = options.TopP;
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
340if (options.TopP is float topP)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMapper.ChatCompletion.cs (1)
243result.TopP = options.TopP;
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAISerializationTests.cs (2)
41Assert.Null(request.Options.TopP); 74Assert.Null(request.Options.TopP);