11 writes to Seed
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
80Seed = Seed,
Microsoft.Extensions.AI.Abstractions.Tests (2)
ChatCompletion\ChatOptionsTests.cs (2)
74options.Seed = 12345; 134options.Seed = 12345;
Microsoft.Extensions.AI.AzureAIInference.Tests (2)
AzureAIInferenceChatClientTests.cs (2)
292Seed = 42, 520Seed = 42,
Microsoft.Extensions.AI.Ollama.Tests (3)
OllamaChatClientIntegrationTests.cs (2)
47Seed = 0, 82Seed = 0,
OllamaChatClientTests.cs (1)
272Seed = 42,
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMapper.ChatCompletion.cs (1)
157result.Seed = options.Seed;
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIChatClientTests.cs (1)
435Seed = 42,
Microsoft.Extensions.AI.Tests (1)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
128Seed = 42,
14 references to Seed
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
288if (options.Seed is long seed)
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\ChatOptions.cs (1)
80Seed = Seed,
Microsoft.Extensions.AI.Abstractions.Tests (5)
ChatCompletion\ChatOptionsTests.cs (5)
22Assert.Null(options.Seed); 37Assert.Null(options.Seed); 88Assert.Equal(12345, options.Seed); 103Assert.Equal(12345, options.Seed); 157Assert.Equal(12345, deserialized.Seed);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
304result.Seed = options.Seed;
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
350if (options.Seed is long seed)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIModelMapper.ChatCompletion.cs (1)
247result.Seed = options.Seed;
Microsoft.Extensions.AI.OpenAI.Tests (4)
OpenAISerializationTests.cs (4)
139Assert.Equal(42, request.Options.Seed); 241Assert.Null(request.Options.Seed); 333Assert.Null(request.Options.Seed); 401Assert.Null(request.Options.Seed);