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

    Specifies output randomness.

    Namespace: DevExpress.AIIntegration.Blazor.Reporting.Viewer.Extensions

    Assembly: DevExpress.AIIntegration.Blazor.Reporting.Viewer.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.Blazor.Reporting.Viewer

    Declaration

    public AITranslationConfigurationBuilder 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
    AITranslationConfigurationBuilder

    An AITranslationConfigurationBuilder that can be used to further configure the AI-powered content translation functionality.

    Remarks

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

    See Also