Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#follow_up_questions
def follow_up_questions() -> ::Array<::String>
Returns
- (::Array<::String>) — Suggested follow-up questions.
#follow_up_questions=
def follow_up_questions=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Suggested follow-up questions.
Returns
- (::Array<::String>) — Suggested follow-up questions.
#refinement_attributes
def refinement_attributes() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute>) — A list of ranked refinement attributes.
#refinement_attributes=
def refinement_attributes=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute>) — A list of ranked refinement attributes.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::GuidedSearchResult::RefinementAttribute>) — A list of ranked refinement attributes.