Skip to content

Lex Runtime V2  >  Structures  >  TranscriptEvent

TranscriptEvent

Structure Class

TranscriptEvent dataclass

Event sent from Amazon Lex V2 to your client application that contains a transcript of voice audio.

Attributes

event_id class-attribute instance-attribute
event_id: str | None = None

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 class-attribute instance-attribute
transcript: str | None = None

The transcript of the voice audio from the user.