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 [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
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
.
727 728 729 730 |
# File 'proto_docs/google/cloud/dialogflow/v2/session.rb', line 727 class SentimentAnalysisResult include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |