SemanticChunkingStrategy Class
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 class SemanticChunkingStrategy : Azure.AI.ContentUnderstanding.ChunkingStrategy, System.ClientModel.Primitives.IJsonModel<Azure.AI.ContentUnderstanding.SemanticChunkingStrategy>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.ContentUnderstanding.SemanticChunkingStrategy>
type SemanticChunkingStrategy = class
inherit ChunkingStrategy
interface IJsonModel<SemanticChunkingStrategy>
interface IPersistableModel<SemanticChunkingStrategy>
Public Class SemanticChunkingStrategy
Inherits ChunkingStrategy
Implements IJsonModel(Of SemanticChunkingStrategy), IPersistableModel(Of SemanticChunkingStrategy)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| SemanticChunkingStrategy() |
Initializes a new instance of SemanticChunkingStrategy. |
Properties
| Name | Description |
|---|---|
| MaxTokens |
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. |