Google Cloud Contact Center Insights V1 Client - Class AnnotatorSelector (1.7.1)

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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.

↳ run_summarization_annotator bool

Whether to run the summarization annotator.

↳ summarization_config Google\Cloud\ContactCenterInsights\V1\AnnotatorSelector\SummarizationConfig

Configuration for the summarization annotator.

getRunInterruptionAnnotator

Whether to run the interruption annotator.

Returns
TypeDescription
bool

setRunInterruptionAnnotator

Whether to run the interruption annotator.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRunSilenceAnnotator

Whether to run the silence annotator.

Returns
TypeDescription
bool

setRunSilenceAnnotator

Whether to run the silence annotator.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRunPhraseMatcherAnnotator

Whether to run the active phrase matcher annotator(s).

Returns
TypeDescription
bool

setRunPhraseMatcherAnnotator

Whether to run the active phrase matcher annotator(s).

Parameter
NameDescription
var bool
Returns
TypeDescription
$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}

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

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}

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getRunSentimentAnnotator

Whether to run the sentiment annotator.

Returns
TypeDescription
bool

setRunSentimentAnnotator

Whether to run the sentiment annotator.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRunEntityAnnotator

Whether to run the entity annotator.

Returns
TypeDescription
bool

setRunEntityAnnotator

Whether to run the entity annotator.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRunIntentAnnotator

Whether to run the intent annotator.

Returns
TypeDescription
bool

setRunIntentAnnotator

Whether to run the intent annotator.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getRunIssueModelAnnotator

Whether to run the issue model annotator. A model should have already been deployed for this to take effect.

Returns
TypeDescription
bool

setRunIssueModelAnnotator

Whether to run the issue model annotator. A model should have already been deployed for this to take effect.

Parameter
NameDescription
var bool
Returns
TypeDescription
$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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

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.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getRunSummarizationAnnotator

Whether to run the summarization annotator.

Returns
TypeDescription
bool

setRunSummarizationAnnotator

Whether to run the summarization annotator.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSummarizationConfig

Configuration for the summarization annotator.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\AnnotatorSelector\SummarizationConfig|null

hasSummarizationConfig

clearSummarizationConfig

setSummarizationConfig

Configuration for the summarization annotator.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\AnnotatorSelector\SummarizationConfig
Returns
TypeDescription
$this