Back to Devexpress

SmartPasteBehavior.PromptAugmentation Property

wpf-devexpress-dot-aiintegration-dot-wpf-dot-smartpastebehavior-e5c3fe85.md

latest1.7 KB
Original Source

SmartPasteBehavior.PromptAugmentation Property

Gets or sets additional instructions that modify the prompt before processing.

Namespace : DevExpress.AIIntegration.Wpf

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

NuGet Package : DevExpress.AIIntegration.Wpf

Declaration

csharp
public string PromptAugmentation { get; set; }
vb
Public Property PromptAugmentation As String

Property Value

TypeDescription
String

Additional instructions.

|

Remarks

The following code snippet registers a SmartPasteBehavior and configures it to always return results in English:

xaml
<dxmvvm:Interaction.Behaviors>
    <dxai:SmartPasteBehavior x:Name="smartPasteBehavior"
                    PromptAugmentation="Always translate the result into English."/>
</dxmvvm:Interaction.Behaviors>

See the following help topic for more information: Smart Paste — Prompt Augmentation.

See Also

SmartPasteBehavior Class

SmartPasteBehavior Members

DevExpress.AIIntegration.Wpf Namespace