slots property
Map of zero or more intent slots Amazon Lex detected from the user input during the conversation.
Amazon Lex creates a resolution list containing likely values for a slot.
The value that it returns is determined by the
valueSelectionStrategy
selected when the slot type was created
or updated. If valueSelectionStrategy
is set to
ORIGINAL_VALUE
, the value provided by the user is returned, if
the user value is similar to the slot values. If
valueSelectionStrategy
is set to TOP_RESOLUTION
Amazon Lex returns the first value in the resolution list or, if there is no
resolution list, null. If you don't specify a
valueSelectionStrategy
the default is
ORIGINAL_VALUE
.
Implementation
final Object? slots;