GenerationConfigTemperature Property

Optional. Controls the randomness of the output. Note: The default value varies by model, see the Model.Temperature attribute of the Model returned from the getModel function. Values can range from.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public double? Temperature { get; set; }

Property Value

NullableDouble

See Also