Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Commit

Permalink
feat: add metadata from dialogflow related to transcript segment, sen…
Browse files Browse the repository at this point in the history
…timent data for transcript segment (#64)

* feat: add metadata from dialogflow related to transcript segment feat: add sentiment data for transcript segment feat: add obfuscated if from dialogflow

PiperOrigin-RevId: 399513805

Source-Link: googleapis/googleapis@0766e6d

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2bc8343812fa9c07c73292ac34b43f05c9686b74
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmJjODM0MzgxMmZhOWMwN2M3MzI5MmFjMzRiNDNmMDVjOTY4NmI3NCJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Sep 28, 2021
1 parent 84893db commit 982dbab
Show file tree
Hide file tree
Showing 33 changed files with 2,125 additions and 6 deletions.
19 changes: 19 additions & 0 deletions protos/google/cloud/contactcenterinsights/v1/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ message Conversation {
float confidence = 4;
}

// Metadata from Dialogflow relating to the current transcript segment.
message DialogflowSegmentMetadata {
// Whether the transcript segment was covered under the configured smart
// reply allowlist in Agent Assist.
bool smart_reply_allowlist_covered = 1;
}

// The time that the message occurred, if provided.
google.protobuf.Timestamp message_time = 6;

// The text of this segment.
string text = 1;

Expand All @@ -96,6 +106,12 @@ message Conversation {

// The participant of this segment.
ConversationParticipant segment_participant = 9;

// CCAI metadata relating to the current transcript segment.
DialogflowSegmentMetadata dialogflow_segment_metadata = 10;

// The sentiment for this transcript segment.
SentimentData sentiment = 11;
}

// A list of sequential transcript segments that comprise the conversation.
Expand Down Expand Up @@ -1059,6 +1075,9 @@ message ConversationParticipant {
// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
string dialogflow_participant = 1 [deprecated = true];

// Obfuscated user ID from Dialogflow.
string obfuscated_external_user_id = 3;

// The role of the participant.
Role role = 2;
}
114 changes: 114 additions & 0 deletions protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 982dbab

Please sign in to comment.