Skip to main content
All docs
V26.1
  • PromptToExpressionBehavior.PromptAugmentation Property

    Gets or sets additional instructions that modify the prompt before processing. This is a dependency property.

    Namespace: DevExpress.AIIntegration.Wpf

    Assembly: DevExpress.AIIntegration.Wpf.v26.1.dll

    Declaration

    public string PromptAugmentation { get; set; }

    Property Value

    Type Description
    String

    Additional instructions that modify the prompt before processing.

    Remarks

    The following example adds extra instructions to modify the prompt before processing:

    <ThemedWindow xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
                  xmlns:dxai="http://schemas.devexpress.com/winfx/2008/xaml/ai"
                  xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm">
        <dxg:GridControl ItemsSource="{Binding Employees}">
            <dxmvvm:Interaction.Behaviors>
                <dxai:PromptToExpressionBehavior 
                                    PromptAugmentation="Consider only active employees. 
                                                        Salary values are in USD." />
            </dxmvvm:Interaction.Behaviors>
        </dxg:GridControl>
    </ThemedWindow>
    

    Refer to the following help topic for additional information: Prompt to Expression.

    See Also