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

Commit

Permalink
feat: filter is used to filter conversations used for issue model tra…
Browse files Browse the repository at this point in the history
…ining feat: update_time is used to indicate when the phrase matcher was updated (#55)
  • Loading branch information
gcf-owl-bot[bot] committed Sep 17, 2021
1 parent 8df778c commit 08f13b4
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 10 deletions.
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -2,7 +2,6 @@
**/node_modules
.coverage
coverage
.idea/
.nyc_output
docs/
out/
Expand Down
6 changes: 0 additions & 6 deletions linkinator.config.json
Expand Up @@ -2,12 +2,6 @@
"recurse": true,
"skip": [
"https://codecov.io/gh/googleapis/",
"https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createAnalysis.js",
"https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createConversation.js",
"https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/createConversationWithTtl.js",
"https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/enablePubSubNotifications.js",
"https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/exportToBigquery.js",
"https://github.com/googleapis/nodejs-contact-center-insights/blob/main/samples/getOperation.js",
"www.googleapis.com",
"img.shields.io"
],
Expand Down
13 changes: 11 additions & 2 deletions protos/google/cloud/contactcenterinsights/v1/resources.proto
Expand Up @@ -567,11 +567,17 @@ message IssueModel {

// Configs for the input data used to create the issue model.
message InputDataConfig {
// Required. Medium of conversations used in training data.
Conversation.Medium medium = 1 [(google.api.field_behavior) = REQUIRED];
// Medium of conversations used in training data. This field is being
// deprecated. To specify the medium to be used in training a new issue
// model, set the `medium` field on `filter`.
Conversation.Medium medium = 1 [deprecated = true];

// Output only. Number of conversations used in training. Output only.
int64 training_conversations_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY];

// A filter to reduce the conversations used for training the model to a
// specific subset.
string filter = 3;
}

// State of the model.
Expand Down Expand Up @@ -730,6 +736,9 @@ message PhraseMatcher {
// against. If the role is ROLE_UNSPECIFIED it will be matched against any
// utterances in the transcript.
ConversationParticipant.Role role_match = 10;

// Output only. The most recent time at which the phrase matcher was updated.
google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// A message representing a rule in the phrase matcher.
Expand Down
12 changes: 12 additions & 0 deletions protos/protos.d.ts

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

49 changes: 49 additions & 0 deletions protos/protos.js

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

13 changes: 12 additions & 1 deletion protos/protos.json

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

0 comments on commit 08f13b4

Please sign in to comment.