Class TranscriptSegment (1.8.0)

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

A segment of a full transcript.

Attributes

NameDescription
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 MutableSequence[google.cloud.contact_center_insights_v1.types.Conversation.Transcript.TranscriptSegment.WordInfo]
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.
segment_participant google.cloud.contact_center_insights_v1.types.ConversationParticipant
The participant of this segment.
dialogflow_segment_metadata google.cloud.contact_center_insights_v1.types.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata
CCAI metadata relating to the current transcript segment.
sentiment google.cloud.contact_center_insights_v1.types.SentimentData
The sentiment for this transcript segment.

Classes

DialogflowSegmentMetadata

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

Metadata from Dialogflow relating to the current transcript segment.

WordInfo

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

Word-level info for words in a transcript.