Interface IChunkMetadata
Provides metadata associated with a generated chunk.
Namespace: Syncfusion.DocumentChunking
Assembly: Syncfusion.DocumentChunking.Base.dll
Syntax
public interface IChunkMetadata
Properties
Attributes
Gets additional metadata attributes associated with the chunk.
Declaration
IReadOnlyDictionary<string, object> Attributes { get; }
Property Value
| Type |
|---|
| System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> |
Remarks
The available attributes depend on the source document format and the extraction process.
CharacterCount
Gets the number of characters in the chunk content.
Declaration
int CharacterCount { get; }
Property Value
| Type |
|---|
| System.Int32 |
FileName
Gets the name of the source file.
Declaration
string FileName { get; }
Property Value
| Type |
|---|
| System.String |
FileType
Gets the file type of the source document.
Declaration
string FileType { get; }
Property Value
| Type |
|---|
| System.String |
SourceDocumentId
Gets the deterministic identifier of the source document.
Declaration
string SourceDocumentId { get; }
Property Value
| Type |
|---|
| System.String |
TokenCount
Gets the number of tokens in the chunk content.
Declaration
int TokenCount { get; }
Property Value
| Type |
|---|
| System.Int32 |