Class: Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec

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

The specification that configs the summary in the search response.

Instance Attribute Summary collapse

Instance Attribute Details

#summary_result_count::Integer

Returns The number of top results the summary should be generated from. If the number of returned results is less than summary_result_count, then the summary would be derived from all the results; otherwise, the summary would be derived from the top results.

At most 5 results can be used for generating summary.

Returns:

  • (::Integer)

    The number of top results the summary should be generated from. If the number of returned results is less than summary_result_count, then the summary would be derived from all the results; otherwise, the summary would be derived from the top results.

    At most 5 results can be used for generating summary.



447
448
449
450
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 447

class SummarySpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end