Skip to content

Commit 0766e6d

Browse files
Google APIscopybara-github
authored andcommitted
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
1 parent 47b2171 commit 0766e6d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

google/cloud/contactcenterinsights/v1/resources.proto

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ message Conversation {
7373
float confidence = 4;
7474
}
7575

76+
// Metadata from Dialogflow relating to the current transcript segment.
77+
message DialogflowSegmentMetadata {
78+
// Whether the transcript segment was covered under the configured smart
79+
// reply allowlist in Agent Assist.
80+
bool smart_reply_allowlist_covered = 1;
81+
}
82+
83+
// The time that the message occurred, if provided.
84+
google.protobuf.Timestamp message_time = 6;
85+
7686
// The text of this segment.
7787
string text = 1;
7888

@@ -96,6 +106,12 @@ message Conversation {
96106

97107
// The participant of this segment.
98108
ConversationParticipant segment_participant = 9;
109+
110+
// CCAI metadata relating to the current transcript segment.
111+
DialogflowSegmentMetadata dialogflow_segment_metadata = 10;
112+
113+
// The sentiment for this transcript segment.
114+
SentimentData sentiment = 11;
99115
}
100116

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

1078+
// Obfuscated user ID from Dialogflow.
1079+
string obfuscated_external_user_id = 3;
1080+
10621081
// The role of the participant.
10631082
Role role = 2;
10641083
}

0 commit comments

Comments
 (0)