Back to Devexpress

AIConfigurationBuilderBase.SetTemperature(Single) Method

xtrareports-devexpress-dot-aiintegration-dot-aspnetcore-dot-reporting-dot-aiconfigurationbuilderbase-dot-settemperature-x28-system-dot-single-x29.md

latest2.1 KB
Original Source

AIConfigurationBuilderBase.SetTemperature(Single) Method

Specifies output randomness.

Namespace : DevExpress.AIIntegration.AspNetCore.Reporting

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

NuGet Package : DevExpress.AIIntegration.AspNetCore.Reporting

Declaration

csharp
public virtual AIConfigurationBuilderBase SetTemperature(
    float temperature
)
vb
Public Overridable Function SetTemperature(
    temperature As Single
) As AIConfigurationBuilderBase

Parameters

NameTypeDescription
temperatureSingle

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

|

Returns

TypeDescription
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

AIConfigurationBuilderBase Class

AIConfigurationBuilderBase Members

DevExpress.AIIntegration.AspNetCore.Reporting Namespace