Class: Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ChunkingConfig
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ChunkingConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb
Overview
Configuration for chunking config.
Defined Under Namespace
Classes: LayoutBasedChunkingConfig
Instance Attribute Summary collapse
-
#layout_based_chunking_config ⇒ ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ChunkingConfig::LayoutBasedChunkingConfig
Configuration for the layout based chunking.
Instance Attribute Details
#layout_based_chunking_config ⇒ ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ChunkingConfig::LayoutBasedChunkingConfig
Returns Configuration for the layout based chunking.
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb', line 69 class ChunkingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration for the layout based chunking. # @!attribute [rw] chunk_size # @return [::Integer] # The token size limit for each chunk. # # Supported values: 100-500 (inclusive). # Default value: 500. # @!attribute [rw] include_ancestor_headings # @return [::Boolean] # Whether to include appending different levels of headings to chunks # from the middle of the document to prevent context loss. # # Default value: False. class LayoutBasedChunkingConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |