pub struct GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig {
pub enable_entity_extraction: Option<bool>,
pub enable_sentiment_analysis: Option<bool>,
}
Expand description
Configuration for analyses to run on each conversation message.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable_entity_extraction: Option<bool>
Enable entity extraction in conversation messages on agent assist stage. If unspecified, defaults to false. Currently, this feature is not general available, please contact Google to get access.
enable_sentiment_analysis: Option<bool>
Enable sentiment analysis in conversation messages on agent assist stage. If unspecified, defaults to false. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user’s attitude as positive, negative, or neutral: https://cloud.google.com/natural-language/docs/basics#sentiment_analysis For Participants.StreamingAnalyzeContent method, result will be in StreamingAnalyzeContentResponse.message.SentimentAnalysisResult. For Participants.AnalyzeContent method, result will be in AnalyzeContentResponse.message.SentimentAnalysisResult For Conversations.ListMessages method, result will be in ListMessagesResponse.messages.SentimentAnalysisResult If Pub/Sub notification is configured, result will be in ConversationEvent.new_message_payload.SentimentAnalysisResult.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
impl Clone for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
Source§fn clone(
&self,
) -> GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
fn clone( &self, ) -> GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
impl Default for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
Source§fn default() -> GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
fn default() -> GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
impl RefUnwindSafe for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
impl Send for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
impl Sync for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
impl Unpin for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
impl UnwindSafe for GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more