View Source GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment (google_api_contact_center_insights v0.5.0)

A segment of a full transcript.

Attributes

  • channelTag (type: integer(), default: nil) - 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.
  • confidence (type: number(), default: nil) - 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.
  • dialogflowSegmentMetadata (type: GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata.t, default: nil) - CCAI metadata relating to the current transcript segment.
  • languageCode (type: String.t, default: nil) - The language code of this segment as a BCP-47 language tag. Example: "en-US".
  • messageTime (type: DateTime.t, default: nil) - The time that the message occurred, if provided.
  • segmentParticipant (type: GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1ConversationParticipant.t, default: nil) - The participant of this segment.
  • sentiment (type: GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1SentimentData.t, default: nil) - The sentiment for this transcript segment.
  • text (type: String.t, default: nil) - The text of this segment.
  • words (type: list(GoogleApi.ContactCenterInsights.V1.Model.GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo.t), default: nil) - A list of the word-specific information for each word in the segment.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.