Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class AnnotatorSelector.
Selector of all available annotators and phrase matchers to run.
Generated from protobuf message google.cloud.contactcenterinsights.v1.AnnotatorSelector
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ run_interruption_annotator
bool
Whether to run the interruption annotator.
↳ run_silence_annotator
bool
Whether to run the silence annotator.
↳ run_phrase_matcher_annotator
bool
Whether to run the active phrase matcher annotator(s).
↳ phrase_matchers
array
The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
↳ run_sentiment_annotator
bool
Whether to run the sentiment annotator.
↳ run_entity_annotator
bool
Whether to run the entity annotator.
↳ run_intent_annotator
bool
Whether to run the intent annotator.
↳ run_issue_model_annotator
bool
Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
↳ issue_models
array
The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
getRunInterruptionAnnotator
Whether to run the interruption annotator.
bool
setRunInterruptionAnnotator
Whether to run the interruption annotator.
var
bool
$this
getRunSilenceAnnotator
Whether to run the silence annotator.
bool
setRunSilenceAnnotator
Whether to run the silence annotator.
var
bool
$this
getRunPhraseMatcherAnnotator
Whether to run the active phrase matcher annotator(s).
bool
setRunPhraseMatcherAnnotator
Whether to run the active phrase matcher annotator(s).
var
bool
$this
getPhraseMatchers
The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
setPhraseMatchers
The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
var
string[]
$this
getRunSentimentAnnotator
Whether to run the sentiment annotator.
bool
setRunSentimentAnnotator
Whether to run the sentiment annotator.
var
bool
$this
getRunEntityAnnotator
Whether to run the entity annotator.
bool
setRunEntityAnnotator
Whether to run the entity annotator.
var
bool
$this
getRunIntentAnnotator
Whether to run the intent annotator.
bool
setRunIntentAnnotator
Whether to run the intent annotator.
var
bool
$this
getRunIssueModelAnnotator
Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
bool
setRunIssueModelAnnotator
Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
var
bool
$this
getIssueModels
The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
setIssueModels
The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.
var
string[]
$this