InputText

data class InputText(val type: String = "input_text", val text: String) : InputContent, Record(source)

Represents a text input to the model.

Author

Konstantin Pavlov

Constructors

Link copied to clipboard
constructor(type: String = "input_text", text: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "text")
val text: String

The text input to the model.

Link copied to clipboard
@SerialName(value = "type")
open override val type: String

The type of the input item. Always "input_text".