Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector.
Selector of all available annotators and phrase matchers to run.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#issue_models
def issue_models() -> ::Array<::String>
Returns
- (::Array<::String>) — 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.
#issue_models=
def issue_models=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — 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
- (::Array<::String>) — 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.
#phrase_matchers
def phrase_matchers() -> ::Array<::String>
Returns
- (::Array<::String>) — 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}
#phrase_matchers=
def phrase_matchers=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — 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
- (::Array<::String>) — 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}
#qa_config
def qa_config() -> ::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::QaConfig
Returns
- (::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::QaConfig) — Configuration for the QA annotator.
#qa_config=
def qa_config=(value) -> ::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::QaConfig
Parameter
- value (::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::QaConfig) — Configuration for the QA annotator.
Returns
- (::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::QaConfig) — Configuration for the QA annotator.
#run_entity_annotator
def run_entity_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the entity annotator.
#run_entity_annotator=
def run_entity_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the entity annotator.
Returns
- (::Boolean) — Whether to run the entity annotator.
#run_intent_annotator
def run_intent_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the intent annotator.
#run_intent_annotator=
def run_intent_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the intent annotator.
Returns
- (::Boolean) — Whether to run the intent annotator.
#run_interruption_annotator
def run_interruption_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the interruption annotator.
#run_interruption_annotator=
def run_interruption_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the interruption annotator.
Returns
- (::Boolean) — Whether to run the interruption annotator.
#run_issue_model_annotator
def run_issue_model_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
#run_issue_model_annotator=
def run_issue_model_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
Returns
- (::Boolean) — Whether to run the issue model annotator. A model should have already been deployed for this to take effect.
#run_phrase_matcher_annotator
def run_phrase_matcher_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the active phrase matcher annotator(s).
#run_phrase_matcher_annotator=
def run_phrase_matcher_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the active phrase matcher annotator(s).
Returns
- (::Boolean) — Whether to run the active phrase matcher annotator(s).
#run_qa_annotator
def run_qa_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the QA annotator.
#run_qa_annotator=
def run_qa_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the QA annotator.
Returns
- (::Boolean) — Whether to run the QA annotator.
#run_sentiment_annotator
def run_sentiment_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the sentiment annotator.
#run_sentiment_annotator=
def run_sentiment_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the sentiment annotator.
Returns
- (::Boolean) — Whether to run the sentiment annotator.
#run_silence_annotator
def run_silence_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the silence annotator.
#run_silence_annotator=
def run_silence_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the silence annotator.
Returns
- (::Boolean) — Whether to run the silence annotator.
#run_summarization_annotator
def run_summarization_annotator() -> ::Boolean
Returns
- (::Boolean) — Whether to run the summarization annotator.
#run_summarization_annotator=
def run_summarization_annotator=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether to run the summarization annotator.
Returns
- (::Boolean) — Whether to run the summarization annotator.
#summarization_config
def summarization_config() -> ::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig
Returns
- (::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig) — Configuration for the summarization annotator.
#summarization_config=
def summarization_config=(value) -> ::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig
Parameter
- value (::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig) — Configuration for the summarization annotator.
Returns
- (::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig) — Configuration for the summarization annotator.