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