Value¶
Structure Class¶
Value
dataclass
¶
Information about the value provided for a slot and Amazon Lex V2's interpretation.
Attributes¶
interpreted_value
instance-attribute
¶
interpreted_value: str
The value that Amazon Lex V2 determines for the slot, given the user
input. The actual value depends on the setting of the value selection
strategy for the bot. You can choose to use the value entered by the
user, or you can have Amazon Lex V2 choose the first value in the
resolvedValues list.
original_value
class-attribute
instance-attribute
¶
original_value: str | None = None
The part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.
resolved_values
class-attribute
instance-attribute
¶
resolved_values: list[str] | None = None
A list of values that Amazon Lex V2 determines are possible resolutions
for the user input. The first value matches the interpretedValue.