Skip to content

Value

Source code in docs_src/capo_lex_runtime_v2/types/value.py
class Value(TypedDict, closed=True):
    original_value: NotRequired[
        "capo_lex_runtime_v2.types.non_empty_string.NonEmptyString"
    ]
    """<p>The part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.</p>"""
    interpreted_value: "capo_lex_runtime_v2.types.non_empty_string.NonEmptyString"
    """<p>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 <code>resolvedValues</code> list.</p>"""
    resolved_values: NotRequired["capo_lex_runtime_v2.types.string_list.StringList"]
    """<p>A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the <code>interpretedValue</code>.</p>"""

interpreted_value instance-attribute

interpreted_value: NonEmptyString

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: NotRequired[NonEmptyString]

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: NotRequired[StringList]

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