Skip to content

ValueDict

Dictionary Type

ValueDict

Bases: TypedDict

Dictionary form of Value.

Attributes

interpreted_value instance-attribute
interpreted_value: Required[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 instance-attribute
original_value: str | 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 instance-attribute
resolved_values: Sequence[str] | None

A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the interpretedValue.