ContentUnderstandingModelFactory.SemanticChunkingStrategy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Semantic chunking strategy that splits content into semantically meaningful, size-controlled chunks.
public static Azure.AI.ContentUnderstanding.SemanticChunkingStrategy SemanticChunkingStrategy(int? maxTokens = default);
static member SemanticChunkingStrategy : Nullable<int> -> Azure.AI.ContentUnderstanding.SemanticChunkingStrategy
Public Shared Function SemanticChunkingStrategy (Optional maxTokens As Nullable(Of Integer) = Nothing) As SemanticChunkingStrategy
Parameters
Target chunk size expressed in tokens. Interpreted as a soft limit; the chunking process may slightly exceed this value to respect semantic or structural boundaries.
Returns
A new SemanticChunkingStrategy instance for mocking.