Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::SentimentAnalysisResult (v0.24.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::SentimentAnalysisResult.

The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For [Participants.DetectIntent][], it needs to be configured in DetectIntentRequest.query_params. For [Participants.StreamingDetectIntent][], it needs to be configured in StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs to be configured in ConversationProfile.human_agent_assistant_config

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#query_text_sentiment

def query_text_sentiment() -> ::Google::Cloud::Dialogflow::V2::Sentiment
Returns

#query_text_sentiment=

def query_text_sentiment=(value) -> ::Google::Cloud::Dialogflow::V2::Sentiment
Parameter
Returns