Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ReaderChunkHierarchyResult

OfficeIMO.Reader

Namespace
OfficeIMO.Reader
Assembly
OfficeIMO.Reader.Core
Source revision
e96266e685be with working tree changes
Modifiers
sealed

Bounded token-aware chunks plus their deterministic hierarchy and evidence.

Inheritance

  • object
  • ReaderChunkHierarchyResult

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 3

Constructors

public ReaderChunkHierarchyResult() #

Properties

public string SchemaId { get; set; } #

Hierarchy schema identifier.

public int SchemaVersion { get; set; } #

Hierarchy schema version.

public OfficeDocumentSource Source { get; set; } #

Source document metadata.

public string TokenCounterId { get; set; } #

Token counter identifier.

public string RootNodeId { get; set; } #

Document root node identifier.

public long SourceTokenCount { get; set; } #

Original source tokens before overlap and hierarchy context.

public long OutputTokenCount { get; set; } #

Total tokens emitted across output chunks.

public long OverlapTokenCount { get; set; } #

Total repeated overlap tokens across output chunks.

public long ContextTokenCount { get; set; } #

Total hierarchy-context tokens added to output chunks.

public IReadOnlyList<ReaderChunk> Chunks { get; set; } #

Embedding-ready leaf chunks in source order.

public IReadOnlyList<ReaderChunkSegment> Segments { get; set; } #

Source span and token evidence aligned to ReaderChunkHierarchyResult.Chunks.

public IReadOnlyList<ReaderChunkHierarchyNode> Nodes { get; set; } #

Flattened hierarchy nodes with explicit parent/child ids.

public IReadOnlyList<OfficeDocumentDiagnostic> Diagnostics { get; set; } #

Limit and content diagnostics produced during chunking.

Extension Methods

public static string ToJson(ReaderChunkHierarchyResult result, bool indented = false) #

Serializes a current hierarchy result.

Parameters

result OfficeIMO.Reader.ReaderChunkHierarchyResult required
indented bool = false optional

Returns

string