ReportTestDataSourceProperties.Temperature Property
Gets or sets the balance between creativity and consistency in AI responses.
Namespace: DevExpress.AIIntegration.WinForms.Reporting
Assembly: DevExpress.AIIntegration.WinForms.Reporting.v25.2.dll
NuGet Package: DevExpress.AIIntegration.WinForms.Reporting
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| Nullable<Single> | 0 | The balance between creativity and consistency in AI responses. A number between 0 and 1 (or 0 and 2) depending on the AI behavior and model. |
Remarks
Drop the BehaviorManager component from the Toolbox onto a Form that contains the WinForms Report Designer control. Use the following code to register a ReportTestDataSourceBehavior and attach it to the WinForms Report Designer (reportDesigner1):
using DevExpress.AIIntegration.WinForms.Reporting;
namespace DXAppReportsTestData {
public partial class XtraForm1 : DevExpress.XtraBars.Ribbon.RibbonForm {
public XtraForm2() {
InitializeComponent();
behaviorManager1.Attach<ReportTestDataSourceBehavior>(reportDesigner1, behavior => {
behavior.Properties.Temperature = 0.3f;
behavior.Properties.RowCount = 10;
});
reportDesigner1.OpenReport(new Report1());
}
}
}
See the following help topic for more information: Preview Reports with AI-generated Test Data (WinForms Report Designer).