public static interface DocumentProcessingConfig.ChunkingConfig.LayoutBasedChunkingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getChunkSize()
The token size limit for each chunk.
|
boolean |
getIncludeAncestorHeadings()
Whether to include appending different levels of headings to chunks
from the middle of the document to prevent context loss.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getChunkSize()
The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
int32 chunk_size = 1;boolean getIncludeAncestorHeadings()
Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.
bool include_ancestor_headings = 2;Copyright © 2025 Google LLC. All rights reserved.