Share via


HeaderChunker Class

Definition

Splits documents into chunks based on headers and their corresponding levels, preserving the header context.

public ref class HeaderChunker sealed : Microsoft::Extensions::DataIngestion::IngestionChunker<System::String ^>
public sealed class HeaderChunker : Microsoft.Extensions.DataIngestion.IngestionChunker<string>
type HeaderChunker = class
    inherit IngestionChunker<string>
Public NotInheritable Class HeaderChunker
Inherits IngestionChunker(Of String)
Inheritance
HeaderChunker

Constructors

Name Description
HeaderChunker(IngestionChunkerOptions)

Initializes a new instance of the HeaderChunker class.

Methods

Name Description
ProcessAsync(IngestionDocument, CancellationToken)

Splits a document into chunks asynchronously.

Applies to