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, IMessageReference documentation and code samples for the Cloud Document AI v1beta3 API class ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig.
Serving config for chunking.
Implements
IMessageProcessOptionsTypesLayoutConfigTypesChunkingConfig, IEquatableProcessOptionsTypesLayoutConfigTypesChunkingConfig, IDeepCloneableProcessOptionsTypesLayoutConfigTypesChunkingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Beta3Assembly
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 |
|