Skip to main content
All docs
V25.1
  • AIConfigurationBuilderBase.SetTemperature(Single) Method

    Specifies output randomness.

    Namespace: DevExpress.AIIntegration.AspNetCore.Reporting

    Assembly: DevExpress.AIIntegration.AspNetCore.Reporting.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.AspNetCore.Reporting

    Declaration

    public virtual AIConfigurationBuilderBase SetTemperature(
        float temperature
    )

    Parameters

    Name Type Description
    temperature Single

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

    Returns

    Type Description
    AIConfigurationBuilderBase

    An class that inherits the AIConfigurationBuilderBase class and can be used to further configure the AI-powered functionality in Reporting controls.

    Remarks

    Lower temperatures yield more predictable and focused outputs, while higher temperatures produce more diverse and creative responses.

    See Also