class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
Configuration for analyses to run on each conversation message.
Attributes
Enable entity extraction in conversation messages on [agent assist stage]( cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). If unspecified, defaults to false. Currently, this feature is not general available, please contact Google
to get access. Corresponds to the JSON property `enableEntityExtraction` @return [Boolean]
Enable entity extraction in conversation messages on [agent assist stage]( cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). If unspecified, defaults to false. Currently, this feature is not general available, please contact Google
to get access. Corresponds to the JSON property `enableEntityExtraction` @return [Boolean]
Enable sentiment analysis in conversation messages on [agent assist stage]( cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). 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: 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. Corresponds to the JSON property `enableSentimentAnalysis` @return [Boolean]
Enable sentiment analysis in conversation messages on [agent assist stage]( cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). 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: 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. Corresponds to the JSON property `enableSentimentAnalysis` @return [Boolean]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 9740 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 9745 def update!(**args) @enable_entity_extraction = args[:enable_entity_extraction] if args.key?(:enable_entity_extraction) @enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis) end