BotSlotValueOverride

data class BotSlotValueOverride(val shape: BotSlotShape? = null, val value: BotSlotValue? = null, val values: List<BotSlotValueOverride>? = null)

The slot values that Amazon Lex uses when it sets slot values in a dialog step.

Constructors

Link copied to clipboard
constructor(shape: BotSlotShape? = null, value: BotSlotValue? = null, values: List<BotSlotValueOverride>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val shape: BotSlotShape? = null

When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.

Link copied to clipboard
val value: BotSlotValue? = null

The current value of the slot.

Link copied to clipboard

A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."