Class: Google::Cloud::Dialogflow::V2::SentimentAnalysisResult
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::SentimentAnalysisResult
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/session.rb
Overview
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 [DetectIntent][], it needs to be configured in DetectIntentRequest.query_params. For [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
Instance Attribute Summary collapse
-
#query_text_sentiment ⇒ ::Google::Cloud::Dialogflow::V2::Sentiment
The sentiment analysis result for
query_text
.
Instance Attribute Details
#query_text_sentiment ⇒ ::Google::Cloud::Dialogflow::V2::Sentiment
Returns The sentiment analysis result for query_text
.
729 730 731 732 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 729 class SentimentAnalysisResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |