Skip to main content
All docs
V25.1
  • ChangeTextBehaviorProperties.Temperature Property

    Gets or sets the balance between creativity and consistency in AI responses.

    Namespace: DevExpress.AIIntegration.WinForms

    Assembly: DevExpress.AIIntegration.WinForms.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.WinForms

    Declaration

    [DefaultValue(null)]
    public float? Temperature { get; set; }

    Property Value

    Type Default Description
    Nullable<Single> null

    A number between 0 and 1 (or 0 and 2) depending on the AI behavior and model.

    Remarks

    The Temperature parameter controls the randomness of the output. Lower temperatures yield more predictable and focused outputs, while higher temperatures produce more diverse and creative responses.

    The Temperature parameter is predefined for DevExpress AI-powered behaviors.

    AI-powered Behavior Temperature (Default)
    Summarize Behavior 1
    Change Style Behavior 0.6
    Change Tone Behavior 0.5
    Translate Behavior 0.5
    Proofread Behavior 0.2
    Expand Behavior
    Explain Behavior
    Shorten Behavior

    Read the following help topic for additional information and examples: AI-powered Text Transform Behaviors.

    See Also