DxReportingWebAIOptions Class
Specifies options for AI-powered functionality available in the Web Document Viewer.
Namespace: DevExpress.AIIntegration.Web.Reporting.Common.WebDocumentViewer
Assembly: DevExpress.AIIntegration.Web.Reporting.Common.v24.2.dll
NuGet Package: DevExpress.AIIntegration.Web.Reporting.Common
Declaration
Remarks
To enable the DevExpress AI-powered extension for the Web Document Viewer, call the AddWebReportingAIIntegration method. Use the DxReportingWebAIOptions
object to specify options for the Summarize command:
using Microsoft.Extensions.AI;
using System;
IChatClient asChatClient = new Azure.AI.OpenAI.AzureOpenAIClient(new Uri(AzureOpenAIEndpoint),
new System.ClientModel.ApiKeyCredential(AzureOpenAIKey))
.AsChatClient("GPT4o");
builder.Services.AddSingleton(asChatClient);
builder.Services.AddDevExpressAI((config) => {
config.AddWebReportingAIIntegration(options =>
options.SummarizationMode = SummarizationMode.Abstractive);
});
For more information on how to enable AI-powered functionality in the Web Document Viewer, refer to the following topic: Summarize and Translate Reports in the Web Document Viewer.
Inheritance
Object
DxReportingWebAIOptions
See Also