Skip to content

TranscriptEvent

Source code in docs_src/capo_lex_runtime_v2/types/transcript_event.py
class TranscriptEvent(TypedDict, closed=True):
    transcript: NotRequired["capo_lex_runtime_v2.types.string.String"]
    """<p>The transcript of the voice audio from the user.</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>"""

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.

transcript instance-attribute

transcript: NotRequired[String]

The transcript of the voice audio from the user.