15 writes to Temperature
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
74Temperature = Temperature,
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\ChatOptionsTests.cs (2)
68options.Temperature = 0.1f; 128options.Temperature = 0.1f;
Microsoft.Extensions.AI.AzureAIInference.Tests (3)
AzureAIInferenceChatClientTests.cs (3)
143Temperature = 0.5f, 205Temperature = 0.5f, 317Temperature = 0.25f,
Microsoft.Extensions.AI.Ollama.Tests (5)
OllamaChatClientIntegrationTests.cs (2)
52Temperature = 0, 87Temperature = 0,
OllamaChatClientTests.cs (3)
116Temperature = 0.5f, 176Temperature = 0.5f, 268Temperature = 0.25f,
Microsoft.Extensions.AI.OpenAI.Tests (3)
OpenAIChatClientTests.cs (3)
186Temperature = 0.5f, 252Temperature = 0.5f, 363Temperature = 0.25f,
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
117Temperature = 6.0f,
12 references to Temperature
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
258if (options.Temperature is float temperature)
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
74Temperature = Temperature,
Microsoft.Extensions.AI.Abstractions.Tests (5)
ChatCompletion\ChatOptionsTests.cs (5)
16Assert.Null(options.Temperature); 31Assert.Null(clone.Temperature); 82Assert.Equal(0.1f, options.Temperature); 97Assert.Equal(0.1f, clone.Temperature); 151Assert.Equal(0.1f, deserialized.Temperature);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
301result.Temperature = options.Temperature;
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
314if (options.Temperature is float temperature)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
407result.Temperature = options.Temperature;
Microsoft.ML.GenAI.Core (2)
CausalLMPipelineChatClient.cs (2)
45temperature: options?.Temperature ?? 0.7f, 69temperature: options?.Temperature ?? 0.7f,