Back to Devexpress

DocumentSummarizeBehavior Class

wpf-devexpress-dot-aiintegration-dot-wpf-5d93a079.md

latest2.8 KB
Original Source

DocumentSummarizeBehavior Class

Generates a brief summary of long text contained in a document.

Namespace : DevExpress.AIIntegration.Wpf

Assembly : DevExpress.AIIntegration.Wpf.v25.2.dll

NuGet Package : DevExpress.AIIntegration.Wpf

Declaration

csharp
public class DocumentSummarizeBehavior :
    DocumentTextBehaviorBase<DocumentSummarizeRequestViewModel>
vb
Public Class DocumentSummarizeBehavior
    Inherits DocumentTextBehaviorBase(Of DocumentSummarizeRequestViewModel)

Remarks

DocumentSummarizeBehavior supports the following summarization modes:

  • Abstractive Summarization

  • Extractive Summarization

The following example activates the AI-powered “Summarize” extension in a Document Preview control:

xaml
xmlns:dxp="http://schemas.devexpress.com/winfx/2008/xaml/printing" 
xmlns:dxai="http://schemas.devexpress.com/winfx/2008/xaml/ai" 
xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"  
... 
<dxp:DocumentPreviewControl Name="preview"> 
    <dxmvvm:Interaction.Behaviors> 
        <dxai:DocumentSummarizeBehavior SummarizationMode="Abstractive" /> 
    </dxmvvm:Interaction.Behaviors> 
</dxp:DocumentPreviewControl>

Inheritance

Show 12 items

Object DispatcherObject DependencyObject Freezable Animatable DevExpress.Mvvm.UI.Interactivity.AttachableObjectBase DevExpress.Mvvm.UI.Interactivity.Behavior DevExpress.Mvvm.UI.Interactivity.Behavior<DependencyObject> DevExpress.AIIntegration.Wpf.Internal.AIBehavior DevExpress.AIIntegration.Wpf.Internal.TextBehaviorBase<DevExpress.AIIntegration.Wpf.Internal.IDocumentPreviewBehaviorSource, DevExpress.AIIntegration.Wpf.Internal.DocumentSummarizeRequestViewModel> DevExpress.AIIntegration.Wpf.Internal.DocumentTextBehaviorBase<DevExpress.AIIntegration.Wpf.Internal.DocumentSummarizeRequestViewModel> DocumentSummarizeBehavior

See Also

DocumentSummarizeBehavior Members

DevExpress.AIIntegration.Wpf Namespace