Interface ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProcessOptions.LayoutConfig.ChunkingConfig,ProcessOptions.LayoutConfig.ChunkingConfig.Builder
- Enclosing class:
- ProcessOptions.LayoutConfig
public static interface ProcessOptions.LayoutConfig.ChunkingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOptional.intOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getChunkSize
int getChunkSize()Optional. The chunk sizes to use when splitting documents, in order of level.
int32 chunk_size = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The chunkSize.
-
getIncludeAncestorHeadings
boolean getIncludeAncestorHeadings()Optional. Whether or not to include ancestor headings when splitting.
bool include_ancestor_headings = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The includeAncestorHeadings.
-
getSemanticChunkingGroupSize
boolean getSemanticChunkingGroupSize()Optional. The number of tokens to group together when evaluating semantic similarity. **Note:** This field is not yet used.
bool semantic_chunking_group_size = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The semanticChunkingGroupSize.
-
getBreakpointPercentileThreshold
int getBreakpointPercentileThreshold()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. **Note:** This field is not yet used.
int32 breakpoint_percentile_threshold = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The breakpointPercentileThreshold.
-