Class: Google::Cloud::DataQnA::V1alpha::Suggestion

Inherits:
Object
  • Object
show all
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

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).

Returns:

  • (::Float)

    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.

Returns:



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.

Returns:



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