Share via


InputVariable Class

Definition

Represents an input variable for prompt functions.

public sealed class InputVariable
type InputVariable = class
Public NotInheritable Class InputVariable
Inheritance
InputVariable

Constructors

InputVariable()

Initializes a new instance of the InputVariable class.

InputVariable(InputVariable)

Initializes a new instance of the InputVariable class from an existing instance.

Properties

AllowDangerouslySetContent

Gets or sets a value indicating whether to handle the variable value as potential dangerous content.

Default

Gets or sets a default value for the variable.

Description

Gets or sets a description of the variable.

IsRequired

Gets or sets whether the variable is considered required (rather than optional).

JsonSchema

Gets or sets JSON Schema describing this variable.

Name

Gets or sets the name of the variable.

Applies to