Skip to main content
All docs
V25.1
  • AIReportingIntegration.GeneratePromptToReportAsync(IAIExtensionsContainer, PromptToReportRequest, CancellationToken) Method

    Generate a report from the specified prompt.

    Namespace: DevExpress.AIIntegration

    Assembly: DevExpress.AIIntegration.Reporting.Common.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.Reporting.Common

    Declaration

    public static Task<XtraReport> GeneratePromptToReportAsync(
        this IAIExtensionsContainer container,
        PromptToReportRequest request,
        CancellationToken cancellationToken = default(CancellationToken)
    )

    Parameters

    Name Type Description
    container IAIExtensionsContainer

    The AI extensions container.

    request PromptToReportRequest

    The request to generate a report from the specified prompt.

    Optional Parameters

    Name Type Default Description
    cancellationToken CancellationToken null

    The token that cancels the task.

    Returns

    Type Description
    Task<XtraReport>

    The response that contains the resulting report (a XtraReport instance).

    See Also