Class: Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript
- Inherits:
-
Object
- Object
- Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/contactcenterinsights/v1/resources.rb
Overview
A message representing the transcript of a conversation.
Defined Under Namespace
Classes: TranscriptSegment
Instance Attribute Summary collapse
-
#transcript_segments ⇒ ::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>
A list of sequential transcript segments that comprise the conversation.
Instance Attribute Details
#transcript_segments ⇒ ::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment>
Returns A list of sequential transcript segments that comprise the conversation.
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 |
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 115 class Transcript include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A segment of a full transcript. # @!attribute [rw] message_time # @return [::Google::Protobuf::Timestamp] # The time that the message occurred, if provided. # @!attribute [rw] text # @return [::String] # The text of this segment. # @!attribute [rw] confidence # @return [::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. # @!attribute [rw] words # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo>] # A list of the word-specific information for each word in the segment. # @!attribute [rw] language_code # @return [::String] # The language code of this segment as a # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. # Example: "en-US". # @!attribute [rw] channel_tag # @return [::Integer] # 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. # @!attribute [rw] segment_participant # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant] # The participant of this segment. # @!attribute [rw] dialogflow_segment_metadata # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata] # CCAI metadata relating to the current transcript segment. # @!attribute [rw] sentiment # @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData] # The sentiment for this transcript segment. class TranscriptSegment include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Word-level info for words in a transcript. # @!attribute [rw] start_offset # @return [::Google::Protobuf::Duration] # Time offset of the start of this word relative to the beginning of # the total conversation. # @!attribute [rw] end_offset # @return [::Google::Protobuf::Duration] # Time offset of the end of this word relative to the beginning of the # total conversation. # @!attribute [rw] word # @return [::String] # The word itself. Includes punctuation marks that surround the word. # @!attribute [rw] confidence # @return [::Float] # A confidence estimate between 0.0 and 1.0 of the fidelity of this # word. A default value of 0.0 indicates that the value is unset. class WordInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Metadata from Dialogflow relating to the current transcript segment. # @!attribute [rw] smart_reply_allowlist_covered # @return [::Boolean] # Whether the transcript segment was covered under the configured smart # reply allowlist in Agent Assist. class DialogflowSegmentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |