Interface IChunk
Represents a content chunk generated by a chunking operation.
Namespace: Syncfusion.DocumentChunking
Assembly: Syncfusion.DocumentChunking.Base.dll
Syntax
public interface IChunk
Remarks
Each chunk contains a unique identifier, its position within the chunking result, and the extracted textual content. Depending on the configured options, a chunk may also include metadata and citation information.
Properties
ChunkId
Gets the deterministic identifier of the chunk.
Declaration
string ChunkId { get; }
Property Value
| Type |
|---|
| System.String |
Remarks
The identifier remains consistent when the same content is processed using the same chunking configuration.
ChunkIndex
Declaration
int ChunkIndex { get; }
Property Value
| Type |
|---|
| System.Int32 |
Citation
Gets the citation associated with the chunk, or null when citation generation is disabled.
Declaration
IChunkCitation Citation { get; }
Property Value
| Type |
|---|
| IChunkCitation |
Content
Gets the textual content of the chunk.
Declaration
string Content { get; }
Property Value
| Type |
|---|
| System.String |
Metadata
Gets the metadata associated with the chunk, or null when metadata generation is disabled.
Declaration
IChunkMetadata Metadata { get; }
Property Value
| Type |
|---|
| IChunkMetadata |