Class AnnotatorSelector (1.6.1)

AnnotatorSelector(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Selector of all available annotators and phrase matchers to run.

Attributes

NameDescription
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 MutableSequence[str]
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 MutableSequence[str]
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.