Cloud Document AI v1beta3 API - Class ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig (2.0.0-beta24)

public sealed class ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig : IMessage<ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig>, IEquatable<ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig>, IDeepCloneable<ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1beta3 API class ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig.

Serving config for chunking.

Inheritance

object > ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

ChunkingConfig()

public ChunkingConfig()

ChunkingConfig(ChunkingConfig)

public ChunkingConfig(ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig other)
Parameter
Name Description
other ProcessOptionsTypesLayoutConfigTypesChunkingConfig

Properties

BreakpointPercentileThreshold

public int BreakpointPercentileThreshold { get; set; }

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.

Property Value
Type Description
int

ChunkSize

public int ChunkSize { get; set; }

Optional. The chunk sizes to use when splitting documents, in order of level.

Property Value
Type Description
int

IncludeAncestorHeadings

public bool IncludeAncestorHeadings { get; set; }

Optional. Whether or not to include ancestor headings when splitting.

Property Value
Type Description
bool

SemanticChunkingGroupSize

public bool SemanticChunkingGroupSize { get; set; }

Optional. The number of tokens to group together when evaluating semantic similarity. THIS FIELD IS NOT YET USED.

Property Value
Type Description
bool