Skip to main content
All docs
V25.2
  • SummarizeBehavior(Type, Nullable<Single>, String, TextRetrievalMode, SummarizationMode) Constructor

    Initializes a new instance of the SummarizeBehavior class with specified settings.

    Namespace: DevExpress.AIIntegration.WinForms

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

    NuGet Package: DevExpress.AIIntegration.WinForms

    Declaration

    public SummarizeBehavior(
        Type behaviorSourceType,
        float? temperature = null,
        string promptAugmentation = "",
        TextRetrievalMode textRetrievalMode = TextRetrievalMode.Default,
        SummarizationMode summarizationMode = SummarizationMode.Abstractive
    )

    Parameters

    Name Type Description
    behaviorSourceType Type

    The type of target control to which the behavior is attached.

    Optional Parameters

    Name Type Default Description
    temperature Nullable<Single> null

    A number between 0 and 1 (or 0 and 2) depending on the AI behavior and model.

    promptAugmentation String String.Empty

    Additional instructions that modify the prompt before processing. This value is assigned to the PromptAugmentation property.

    textRetrievalMode TextRetrievalMode Default

    A value that specifies what text the AI-powered ​​extension should send in the request (the selected fragment or the entire text if no selection is made). This value is assigned to the TextRetrievalMode property.

    summarizationMode SummarizationMode Abstractive

    The summarization mode. This value is assigned to the SummarizationMode property.

    See Also