Skip to content

IntentResultEvent

Source code in docs_src/capo_lex_runtime_v2/types/intent_result_event.py
class IntentResultEvent(TypedDict, closed=True):
    input_mode: NotRequired["capo_lex_runtime_v2.types.input_mode.InputMode"]
    """<p>Indicates whether the input to the operation was text, speech, or from a touch-tone keypad.</p>"""
    interpretations: NotRequired[
        "capo_lex_runtime_v2.types.interpretations.Interpretations"
    ]
    """<p>A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.</p> <p>Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.</p>"""
    session_state: NotRequired["capo_lex_runtime_v2.types.session_state.SessionState"]
    request_attributes: NotRequired["capo_lex_runtime_v2.types.string_map.StringMap"]
    """<p>The attributes sent in the request.</p>"""
    session_id: NotRequired["capo_lex_runtime_v2.types.session_id.SessionId"]
    """<p>The identifier of the session in use.</p>"""
    event_id: NotRequired["capo_lex_runtime_v2.types.event_id.EventId"]
    """<p>A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form <code>RESPONSE-N</code>, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.</p>"""
    recognized_bot_member: NotRequired[
        "capo_lex_runtime_v2.types.recognized_bot_member.RecognizedBotMember"
    ]
    """<p>The bot member that is processing the intent.</p>"""

event_id instance-attribute

event_id: NotRequired[EventId]

A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current session.

input_mode instance-attribute

input_mode: NotRequired[InputMode]

Indicates whether the input to the operation was text, speech, or from a touch-tone keypad.

interpretations instance-attribute

interpretations: NotRequired[Interpretations]

A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.

Each interpretation includes the intent, a score that indicates how confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.

recognized_bot_member instance-attribute

recognized_bot_member: NotRequired[RecognizedBotMember]

The bot member that is processing the intent.

request_attributes instance-attribute

request_attributes: NotRequired[StringMap]

The attributes sent in the request.

session_id instance-attribute

session_id: NotRequired[SessionId]

The identifier of the session in use.

session_state instance-attribute

session_state: NotRequired[SessionState]