Class: Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult
- 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
-
#follow_up_questions ⇒ ::Array<::String>
Suggested follow-up questions.
-
#refinement_attributes ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute>
A list of ranked refinement attributes.
Instance Attribute Details
#follow_up_questions ⇒ ::Array<::String>
Returns Suggested follow-up questions.
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 781 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.
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 781 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 |