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

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

    Namespace: DevExpress.AIIntegration.WinForms

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

    Declaration

    public SmartPasteBehavior(
        Type behaviorSourceType,
        float? temperature = null,
        DefaultBoolean processClipboardImage = DefaultBoolean.Default,
        string promptAugmentation = ""
    )

    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.

    processClipboardImage DefaultBoolean Default

    True to analyze images copied to the clipboard; otherwise, False.

    promptAugmentation String String.Empty

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

    See Also