Class Segment (0.8.2)

Segment(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents one segment of audio. .. attribute:: audio

Raw audio synthesized from the Dialogflow agent's response using the output config specified in the request.

:type: bytes

Attributes

NameDescription
uri str
Client-specific URI that points to an audio clip accessible to the client. Dialogflow does not impose any validation on it.
allow_playback_interruption bool
Output only. Whether the playback of this segment can be interrupted by the end user's speech and the client should then start the next Dialogflow request.