Class: Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb

Overview

Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results.

Defined Under Namespace

Classes: RefinementAttribute

Instance Attribute Summary collapse

Instance Attribute Details

#follow_up_questions::Array<::String>

Returns Suggested follow-up questions.

Returns:

  • (::Array<::String>)

    Suggested follow-up questions.



783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 783

class GuidedSearchResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Useful attribute for search result refinements.
  # @!attribute [rw] attribute_key
  #   @return [::String]
  #     Attribute key used to refine the results e.g. 'movie_type'.
  # @!attribute [rw] attribute_value
  #   @return [::String]
  #     Attribute value used to refine the results e.g. 'drama'.
  class RefinementAttribute
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#refinement_attributes::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute>

Returns A list of ranked refinement attributes.

Returns:



783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 783

class GuidedSearchResult
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Useful attribute for search result refinements.
  # @!attribute [rw] attribute_key
  #   @return [::String]
  #     Attribute key used to refine the results e.g. 'movie_type'.
  # @!attribute [rw] attribute_value
  #   @return [::String]
  #     Attribute value used to refine the results e.g. 'drama'.
  class RefinementAttribute
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end