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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eChunkingConfig\u003c/code\u003e class, which is part of the Cloud Document AI v1beta3 API and is used to configure chunking settings for document processing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eChunkingConfig\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and data manipulation within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eBreakpointPercentileThreshold\u003c/code\u003e, \u003ccode\u003eChunkSize\u003c/code\u003e, \u003ccode\u003eIncludeAncestorHeadings\u003c/code\u003e, and \u003ccode\u003eSemanticChunkingGroupSize\u003c/code\u003e, which allow users to customize how documents are split into chunks based on semantic similarity and size.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the class is \u003ccode\u003e2.0.0-beta23\u003c/code\u003e, and it's part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class, a default one and one that allows you to initialize an instance of the class with another pre-existing \u003ccode\u003eChunkingConfig\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Cloud Document AI v1beta3 API - Class ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig (2.0.0-beta26)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta26 (latest)](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig)\n- [2.0.0-beta25](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/2.0.0-beta25/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/1.0.0-beta04/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig) \n\n public sealed class ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig : IMessage\u003cProcessOptions.Types.LayoutConfig.Types.ChunkingConfig\u003e, IEquatable\u003cProcessOptions.Types.LayoutConfig.Types.ChunkingConfig\u003e, IDeepCloneable\u003cProcessOptions.Types.LayoutConfig.Types.ChunkingConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Document AI v1beta3 API class ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig.\n\nServing config for chunking. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ProcessOptions](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types)[LayoutConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types)[ChunkingConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ProcessOptions](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types)[LayoutConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types)[ChunkingConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ProcessOptions](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types)[LayoutConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig)[Types](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types)[ChunkingConfig](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DocumentAI.V1Beta3](/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.DocumentAI.V1Beta3.dll\n\nConstructors\n------------\n\n### ChunkingConfig()\n\n public ChunkingConfig()\n\n### ChunkingConfig(ChunkingConfig)\n\n public ChunkingConfig(ProcessOptions.Types.LayoutConfig.Types.ChunkingConfig other)\n\nProperties\n----------\n\n### BreakpointPercentileThreshold\n\n public int BreakpointPercentileThreshold { get; set; }\n\nOptional. The percentile of cosine dissimilarity that must be exceeded\nbetween a group of tokens and the next. The smaller this number is, the\nmore chunks will be generated. THIS FIELD IS NOT YET USED.\n\n### ChunkSize\n\n public int ChunkSize { get; set; }\n\nOptional. The chunk sizes to use when splitting documents, in order of\nlevel.\n\n### IncludeAncestorHeadings\n\n public bool IncludeAncestorHeadings { get; set; }\n\nOptional. Whether or not to include ancestor headings when splitting.\n\n### SemanticChunkingGroupSize\n\n public bool SemanticChunkingGroupSize { get; set; }\n\nOptional. The number of tokens to group together when evaluating\nsemantic similarity. THIS FIELD IS NOT YET USED."]]