Class: Google::Cloud::DataQnA::V1alpha::Suggestion
- Inherits:
-
Object
- Object
- Google::Cloud::DataQnA::V1alpha::Suggestion
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataqna/v1alpha/auto_suggestion_service.rb
Overview
A suggestion for a query with a ranking score.
Instance Attribute Summary collapse
-
#ranking_score ⇒ ::Float
The score of the suggestion.
-
#suggestion_info ⇒ ::Google::Cloud::DataQnA::V1alpha::SuggestionInfo
Detailed information about the suggestion.
-
#suggestion_type ⇒ ::Google::Cloud::DataQnA::V1alpha::SuggestionType
The type of the suggestion.
Instance Attribute Details
#ranking_score ⇒ ::Float
Returns The score of the suggestion. This can be used to define ordering in UI. The score represents confidence in the suggestion where higher is better. All score values must be in the range [0, 1).
64 65 66 67 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/auto_suggestion_service.rb', line 64 class Suggestion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#suggestion_info ⇒ ::Google::Cloud::DataQnA::V1alpha::SuggestionInfo
Returns Detailed information about the suggestion.
64 65 66 67 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/auto_suggestion_service.rb', line 64 class Suggestion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#suggestion_type ⇒ ::Google::Cloud::DataQnA::V1alpha::SuggestionType
Returns The type of the suggestion.
64 65 66 67 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/auto_suggestion_service.rb', line 64 class Suggestion include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |