AudioInputEvent¶
Structure Class¶
AudioInputEvent
dataclass
¶
Represents a chunk of audio sent from the client application to Amazon Lex V2. The audio is all or part of an utterance from the user.
Amazon Lex V2 accumulates audio chunks until it recognizes a natural pause in speech before processing the input.
Attributes¶
audio_chunk
class-attribute
instance-attribute
¶
audio_chunk: bytes | None = None
An encoded stream of audio.
client_timestamp_millis
class-attribute
instance-attribute
¶
client_timestamp_millis: int = 0
A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.