Skip to content

RuntimeHintDetails

Source code in docs_src/capo_lex_models_v2/types/runtime_hint_details.py
class RuntimeHintDetails(TypedDict, closed=True):
    runtime_hint_values: NotRequired[
        "capo_lex_models_v2.types.runtime_hint_values_list.RuntimeHintValuesList"
    ]
    """<p>One or more strings that Amazon Lex should look for in the input to the bot. Each phrase is given preference when deciding on slot values.</p>"""
    sub_slot_hints: NotRequired[
        "capo_lex_models_v2.types.slot_hints_slot_map.SlotHintsSlotMap"
    ]
    """<p>A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.</p>"""

runtime_hint_values instance-attribute

runtime_hint_values: NotRequired[RuntimeHintValuesList]

One or more strings that Amazon Lex should look for in the input to the bot. Each phrase is given preference when deciding on slot values.

sub_slot_hints instance-attribute

sub_slot_hints: NotRequired[SlotHintsSlotMap]

A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.