Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::ProcessOptions::LayoutConfig::ChunkingConfig.
Serving config for chunking.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#chunk_size
def chunk_size() -> ::Integer
Returns
- (::Integer) — Optional. The chunk sizes to use when splitting documents, in order of level.
#chunk_size=
def chunk_size=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The chunk sizes to use when splitting documents, in order of level.
Returns
- (::Integer) — Optional. The chunk sizes to use when splitting documents, in order of level.
#include_ancestor_headings
def include_ancestor_headings() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether or not to include ancestor headings when splitting.
#include_ancestor_headings=
def include_ancestor_headings=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether or not to include ancestor headings when splitting.
Returns
- (::Boolean) — Optional. Whether or not to include ancestor headings when splitting.