Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ProcessOptions::LayoutConfig::ChunkingConfig.
Serving config for chunking.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#breakpoint_percentile_threshold
def breakpoint_percentile_threshold() -> ::Integer Returns 
 - (::Integer) — Optional. The percentile of cosine dissimilarity that must be exceeded between a group of tokens and the next. The smaller this number is, the more chunks will be generated. THIS FIELD IS NOT YET USED.
 
#breakpoint_percentile_threshold=
def breakpoint_percentile_threshold=(value) -> ::Integer Parameter 
 - value (::Integer) — Optional. The percentile of cosine dissimilarity that must be exceeded between a group of tokens and the next. The smaller this number is, the more chunks will be generated. THIS FIELD IS NOT YET USED.
 
 Returns 
 - (::Integer) — Optional. The percentile of cosine dissimilarity that must be exceeded between a group of tokens and the next. The smaller this number is, the more chunks will be generated. THIS FIELD IS NOT YET USED.
 
#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.
 
#semantic_chunking_group_size
def semantic_chunking_group_size() -> ::Boolean Returns 
 - (::Boolean) — Optional. The number of tokens to group together when evaluating semantic similarity. THIS FIELD IS NOT YET USED.
 
#semantic_chunking_group_size=
def semantic_chunking_group_size=(value) -> ::Boolean Parameter 
 - value (::Boolean) — Optional. The number of tokens to group together when evaluating semantic similarity. THIS FIELD IS NOT YET USED.
 
 Returns 
 - (::Boolean) — Optional. The number of tokens to group together when evaluating semantic similarity. THIS FIELD IS NOT YET USED.