Back to Devexpress

TextModificationBehavior.Temperature Property

wpf-devexpress-dot-aiintegration-dot-wpf-dot-internal-dot-textmodificationbehavior-c08a8da8.md

latest2.0 KB
Original Source

TextModificationBehavior.Temperature Property

Gets or sets the balance between creativity and consistency in AI responses.

Namespace : DevExpress.AIIntegration.Wpf.Internal

Assembly : DevExpress.AIIntegration.Wpf.v25.2.dll

NuGet Package : DevExpress.AIIntegration.Wpf

Declaration

csharp
public float? Temperature { get; set; }
vb
Public Property Temperature As Single?

Property Value

TypeDescription
Nullable<Single>

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

|

Remarks

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 BehaviorTemperature (Default)
Summarize Behavior1
Change Style Behavior0.6
Change Tone Behavior0.5
Translate Behavior0.5
Proofread Behavior0.2
Expand Behavior
Explain Behavior
Shorten Behavior

Read the following help topic for additional information and examples: AI Assistant Extensions.

See Also

TextModificationBehavior Class

TextModificationBehavior Members

DevExpress.AIIntegration.Wpf.Internal Namespace