Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
source · pub struct GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig {
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 GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
impl Clone for GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
source§fn clone(
&self
) -> GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
fn clone( &self ) -> GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more