public sealed class TranscriptSegment : IMessage<Conversation.Types.Transcript.Types.TranscriptSegment>, IEquatable<Conversation.Types.Transcript.Types.TranscriptSegment>, IDeepCloneable<Conversation.Types.Transcript.Types.TranscriptSegment>, IBufferMessage, IMessage
Reference documentation and code samples for the Contact Center AI Insights v1 API class Conversation.Types.Transcript.Types.TranscriptSegment.
A segment of a full transcript.
Implements
IMessage<Conversation.Types.Transcript.Types.TranscriptSegment>, IEquatable<Conversation.Types.Transcript.Types.TranscriptSegment>, IDeepCloneable<Conversation.Types.Transcript.Types.TranscriptSegment>, IBufferMessage, IMessageNamespace
Google.Cloud.ContactCenterInsights.V1Assembly
Google.Cloud.ContactCenterInsights.V1.dll
Constructors
TranscriptSegment()
public TranscriptSegment()
TranscriptSegment(Conversation.Types.Transcript.Types.TranscriptSegment)
public TranscriptSegment(Conversation.Types.Transcript.Types.TranscriptSegment other)
Parameter | |
---|---|
Name | Description |
other | Conversation.Types.Transcript.Types.TranscriptSegment |
Properties
ChannelTag
public int ChannelTag { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Int32 |
Confidence
public float Confidence { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Single |
DialogflowSegmentMetadata
public Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata DialogflowSegmentMetadata { get; set; }
CCAI metadata relating to the current transcript segment.
Property Value | |
---|---|
Type | Description |
Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata |
LanguageCode
public string LanguageCode { get; set; }
The language code of this segment as a BCP-47 language tag. Example: "en-US".
Property Value | |
---|---|
Type | Description |
String |
MessageTime
public Timestamp MessageTime { get; set; }
The time that the message occurred, if provided.
Property Value | |
---|---|
Type | Description |
Timestamp |
SegmentParticipant
public ConversationParticipant SegmentParticipant { get; set; }
The participant of this segment.
Property Value | |
---|---|
Type | Description |
ConversationParticipant |
Sentiment
public SentimentData Sentiment { get; set; }
The sentiment for this transcript segment.
Property Value | |
---|---|
Type | Description |
SentimentData |
Text
public string Text { get; set; }
The text of this segment.
Property Value | |
---|---|
Type | Description |
String |
Words
public RepeatedField<Conversation.Types.Transcript.Types.TranscriptSegment.Types.WordInfo> Words { get; }
A list of the word-specific information for each word in the segment.
Property Value | |
---|---|
Type | Description |
RepeatedField<Conversation.Types.Transcript.Types.TranscriptSegment.Types.WordInfo> |