windowsforms-devexpress-dot-aiintegration-dot-winforms-dot-changetextbehaviorproperties.md
Gets or sets the balance between creativity and consistency in AI responses.
Namespace : DevExpress.AIIntegration.WinForms
Assembly : DevExpress.AIIntegration.WinForms.v25.2.dll
NuGet Package : DevExpress.AIIntegration.WinForms
[DefaultValue(null)]
public float? Temperature { get; set; }
<DefaultValue(Nothing)>
Public Property Temperature As Single?
| Type | Default | Description |
|---|---|---|
| Nullable<Single> | null |
A number between 0 and 1 (or 0 and 2) depending on the AI behavior and model.
|
The Temperature parameter controls the randomness of the output. Lower temperatures yield more predictable and focused outputs, while higher temperatures produce more diverse and creative responses.
The Temperature parameter is predefined for DevExpress AI-powered behaviors.
| AI-powered Behavior | Temperature (Default) |
|---|---|
| Summarize Behavior | 1 |
| Change Style Behavior | 0.6 |
| Change Tone Behavior | 0.5 |
| Translate Behavior | 0.5 |
| Proofread Behavior | 0.2 |
| Expand Behavior | – |
| Explain Behavior | – |
| Shorten Behavior | – |
Read the following help topic for additional information and examples: AI-powered Text Transform Behaviors.
See Also
ChangeTextBehaviorProperties Class