Back to Devexpress

ReportPromptToExpressionBehavior Class

xtrareports-devexpress-dot-aiintegration-dot-winforms-dot-reporting-19986867.md

latest3.1 KB
Original Source

ReportPromptToExpressionBehavior Class

Converts natural language into valid expressions.

Namespace : DevExpress.AIIntegration.WinForms.Reporting

Assembly : DevExpress.AIIntegration.WinForms.Reporting.v25.2.dll

NuGet Package : DevExpress.AIIntegration.WinForms.Reporting

Declaration

csharp
public sealed class ReportPromptToExpressionBehavior :
    ReportDesignerBehaviorBase
vb
Public NotInheritable Class ReportPromptToExpressionBehavior
    Inherits ReportDesignerBehaviorBase

The following members return ReportPromptToExpressionBehavior objects:

Remarks

Prompt to Expression converts natural language into valid expressions. Instead of writing complex expressions, users describe the desired logic in plain text.

The system sends the prompt to the configured AI service, which generates a valid expression. The Expression Editor or Filter Editor displays the result immediately. If Prompt to Expression fails to create a valid expression, it displays a message that informs the user that a valid expression was not generated.

Run Demo: Prompt to Expression

See the following help topic for additional information: Generate Expressions from Prompts (WinForms Report Designer).

Inheritance

Object DevExpress.Utils.MVVM.BehaviorBase DevExpress.Utils.Behaviors.Behavior DevExpress.Utils.Behaviors.Behavior<DevExpress.AIIntegration.WinForms.Reporting.Internal.IReportDesignerBehaviorSource> DevExpress.AIIntegration.WinForms.Reporting.Internal.ReportDesignerBehaviorBase ReportPromptToExpressionBehavior

See Also

ReportPromptToExpressionBehavior Members

DevExpress.AIIntegration.WinForms.Reporting Namespace