Class: Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::ChunkSpec
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::ChunkSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/search_service.rb
Overview
Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS
Instance Attribute Summary collapse
-
#num_next_chunks ⇒ ::Integer
The number of next chunks to be returned of the current chunk.
-
#num_previous_chunks ⇒ ::Integer
The number of previous chunks to be returned of the current chunk.
Instance Attribute Details
#num_next_chunks ⇒ ::Integer
Returns The number of next chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no next chunks will be returned.
912 913 914 915 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 912 class ChunkSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#num_previous_chunks ⇒ ::Integer
Returns The number of previous chunks to be returned of the current chunk. The maximum allowed value is 3. If not specified, no previous chunks will be returned.
912 913 914 915 |
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 912 class ChunkSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |