Class TranscriptSegment (0.6.1)

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

A segment of a full transcript.


message_time google.protobuf.timestamp_pb2.Timestamp
The time that the message occurred, if provided.
text str
The text of this segment.
confidence float
A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.
words Sequence[]
A list of the word-specific information for each word in the segment.
language_code str
The language code of this segment as a BCP-47 __ language tag. Example: "en-US".
channel_tag int
For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono.
The participant of this segment.
CCAI metadata relating to the current transcript segment.
The sentiment for this transcript segment.



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

Metadata from Dialogflow relating to the current transcript segment.


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

Word-level info for words in a transcript.