Skip to content

PromptAttemptSpecification

Source code in docs_src/capo_lex_models_v2/types/prompt_attempt_specification.py
class PromptAttemptSpecification(TypedDict, closed=True):
    allow_interrupt: NotRequired["capo_lex_models_v2.types.boxed_boolean.BoxedBoolean"]
    """<p>Indicates whether the user can interrupt a speech prompt attempt from the bot.</p>"""
    allowed_input_types: (
        "capo_lex_models_v2.types.allowed_input_types.AllowedInputTypes"
    )
    """<p>Indicates the allowed input types of the prompt attempt.</p>"""
    audio_and_dtmf_input_specification: NotRequired[
        "capo_lex_models_v2.types.audio_and_dtmf_input_specification.AudioAndDTMFInputSpecification"
    ]
    """<p>Specifies the settings on audio and DTMF input.</p>"""
    text_input_specification: NotRequired[
        "capo_lex_models_v2.types.text_input_specification.TextInputSpecification"
    ]
    """<p>Specifies the settings on text input.</p>"""

allow_interrupt instance-attribute

allow_interrupt: NotRequired[BoxedBoolean]

Indicates whether the user can interrupt a speech prompt attempt from the bot.

allowed_input_types instance-attribute

allowed_input_types: AllowedInputTypes

Indicates the allowed input types of the prompt attempt.

audio_and_dtmf_input_specification instance-attribute

audio_and_dtmf_input_specification: NotRequired[AudioAndDTMFInputSpecification]

Specifies the settings on audio and DTMF input.

text_input_specification instance-attribute

text_input_specification: NotRequired[TextInputSpecification]

Specifies the settings on text input.