Struct google_api_proto::google::cloud::contactcenterinsights::v1::AnnotatorSelector
source · pub struct AnnotatorSelector {
pub run_interruption_annotator: bool,
pub run_silence_annotator: bool,
pub run_phrase_matcher_annotator: bool,
pub phrase_matchers: Vec<String>,
pub run_sentiment_annotator: bool,
pub run_entity_annotator: bool,
pub run_intent_annotator: bool,
pub run_issue_model_annotator: bool,
pub issue_models: Vec<String>,
pub run_summarization_annotator: bool,
pub summarization_config: Option<SummarizationConfig>,
}
Expand description
Selector of all available annotators and phrase matchers to run.
Fields§
§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: Vec<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}
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: Vec<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.
run_summarization_annotator: bool
Whether to run the summarization annotator.
summarization_config: Option<SummarizationConfig>
Configuration for the summarization annotator.
Trait Implementations§
source§impl Clone for AnnotatorSelector
impl Clone for AnnotatorSelector
source§fn clone(&self) -> AnnotatorSelector
fn clone(&self) -> AnnotatorSelector
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnnotatorSelector
impl Debug for AnnotatorSelector
source§impl Default for AnnotatorSelector
impl Default for AnnotatorSelector
source§impl Message for AnnotatorSelector
impl Message for AnnotatorSelector
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for AnnotatorSelector
impl PartialEq for AnnotatorSelector
source§fn eq(&self, other: &AnnotatorSelector) -> bool
fn eq(&self, other: &AnnotatorSelector) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnnotatorSelector
Auto Trait Implementations§
impl Freeze for AnnotatorSelector
impl RefUnwindSafe for AnnotatorSelector
impl Send for AnnotatorSelector
impl Sync for AnnotatorSelector
impl Unpin for AnnotatorSelector
impl UnwindSafe for AnnotatorSelector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request