Skip to main content
All docs
V26.1
  • ProofreadBehavior(Type, Nullable<Single>, String, TextRetrievalMode) Constructor

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

    Namespace: DevExpress.AIIntegration.WinForms

    Assembly: DevExpress.AIIntegration.WinForms.v26.1.dll

    Declaration

    public ProofreadBehavior(
        Type behaviorSourceType,
        float? temperature = null,
        string promptAugmentation = "",
        TextRetrievalMode textRetrievalMode = TextRetrievalMode.Default
    )

    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.

    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).

    See Also