public sealed class Conversation.Types.Transcript.Types.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
IMessageConversationTypesTranscriptTypesTranscriptSegment, IEquatableConversationTypesTranscriptTypesTranscriptSegment, IDeepCloneableConversationTypesTranscriptTypesTranscriptSegment, IBufferMessage, IMessageNamespace
Google.Cloud.ContactCenterInsights.V1Assembly
Google.Cloud.ContactCenterInsights.V1.dll
Constructors
TranscriptSegment()
public TranscriptSegment()
TranscriptSegment(TranscriptSegment)
public TranscriptSegment(Conversation.Types.Transcript.Types.TranscriptSegment other)
Parameter | |
---|---|
Name | Description |
other | ConversationTypesTranscriptTypesTranscriptSegment |
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 |
int |
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 |
float |
DialogflowSegmentMetadata
public Conversation.Types.Transcript.Types.TranscriptSegment.Types.DialogflowSegmentMetadata DialogflowSegmentMetadata { get; set; }
CCAI metadata relating to the current transcript segment.
Property Value | |
---|---|
Type | Description |
ConversationTypesTranscriptTypesTranscriptSegmentTypesDialogflowSegmentMetadata |
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 |
RepeatedFieldConversationTypesTranscriptTypesTranscriptSegmentTypesWordInfo |