Skip to content

SlotValueElicitationSetting

Source code in docs_src/capo_lex_models_v2/types/slot_value_elicitation_setting.py
class SlotValueElicitationSetting(TypedDict, closed=True):
    default_value_specification: NotRequired[
        "capo_lex_models_v2.types.slot_default_value_specification.SlotDefaultValueSpecification"
    ]
    """<p>A list of default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.</p>"""
    slot_constraint: "capo_lex_models_v2.types.slot_constraint.SlotConstraint"
    """<p>Specifies whether the slot is required or optional.</p>"""
    prompt_specification: NotRequired[
        "capo_lex_models_v2.types.prompt_specification.PromptSpecification"
    ]
    """<p>The prompt that Amazon Lex uses to elicit the slot value from the user.</p>"""
    sample_utterances: NotRequired[
        "capo_lex_models_v2.types.sample_utterances_list.SampleUtterancesList"
    ]
    """<p>If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.</p>"""
    wait_and_continue_specification: NotRequired[
        "capo_lex_models_v2.types.wait_and_continue_specification.WaitAndContinueSpecification"
    ]
    slot_capture_setting: NotRequired[
        "capo_lex_models_v2.types.slot_capture_setting.SlotCaptureSetting"
    ]
    """<p>Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.</p>"""
    slot_resolution_setting: NotRequired[
        "capo_lex_models_v2.types.slot_resolution_setting.SlotResolutionSetting"
    ]
    """<p>An object containing information about whether assisted slot resolution is turned on for the slot or not.</p>"""

default_value_specification instance-attribute

default_value_specification: NotRequired[SlotDefaultValueSpecification]

A list of default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

prompt_specification instance-attribute

prompt_specification: NotRequired[PromptSpecification]

The prompt that Amazon Lex uses to elicit the slot value from the user.

sample_utterances instance-attribute

sample_utterances: NotRequired[SampleUtterancesList]

If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

slot_capture_setting instance-attribute

slot_capture_setting: NotRequired[SlotCaptureSetting]

Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.

slot_constraint instance-attribute

slot_constraint: SlotConstraint

Specifies whether the slot is required or optional.

slot_resolution_setting instance-attribute

slot_resolution_setting: NotRequired[SlotResolutionSetting]

An object containing information about whether assisted slot resolution is turned on for the slot or not.

wait_and_continue_specification instance-attribute

wait_and_continue_specification: NotRequired[WaitAndContinueSpecification]