Back to Devexpress

AIReportingConfigurationBuilder.AddPromptToReportConverter() Method

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-aireportingconfigurationbuilder-85d45d25.md

latest2.6 KB
Original Source

AIReportingConfigurationBuilder.AddPromptToReportConverter() Method

Activates AI-powered Prompt-to-Report functionality in the Web Report Designer.

Namespace : DevExpress.AspNetCore.Reporting

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

NuGet Package : DevExpress.AIIntegration.AspNetCore.Reporting

Declaration

csharp
public AIReportingConfigurationBuilder AddPromptToReportConverter()
vb
Public Function AddPromptToReportConverter As AIReportingConfigurationBuilder

Returns

TypeDescription
AIReportingConfigurationBuilder

An AIReportingConfigurationBuilder object that can be used to further configure the AI-powered functionality in Web Document Viewer and Web Report Designer.

|

Remarks

The following code activates the AI-powered Prompt-to-Report functionality in an ASP.NET Core application:

csharp
// ...
builder.Services.AddDevExpressAI(config => {
    config.AddWebReportingAIIntegration(options => {
        options.AddPromptToReportConverter();
    });  
});

The AI Prompt-to-Report option appears in the Report Wizard that allows users to create reports by specifying a prompt:

Review the following help topic for more information on hAI-powered Prompt-to-Report functionality: Generate Reports From Prompts in Web Report Designer (CTP).

See Also

Generate Reports From Prompts (Web Report Designer) (CTP)

AIReportingConfigurationBuilder Class

AIReportingConfigurationBuilder Members

DevExpress.AspNetCore.Reporting Namespace