Interface SummaryChainNode

interface SummaryChainNode {
    id: string;
    level: number;
    turnRange: [number, number];
    summary: string;
    tokenEstimate: number;
    createdAt: number;
    parentId?: string;
    childIds: string[];
    entities: string[];
    compactionEntryId: string;
}

Properties

id: string
level: number

Level in the hierarchy (0 = leaf summary, higher = summary-of-summaries).

turnRange: [number, number]

Turn range covered by this node.

summary: string

The summary text.

tokenEstimate: number

Token estimate for this summary.

createdAt: number

Timestamp of creation.

parentId?: string

ID of the parent node (summary that absorbed this one), if any.

childIds: string[]

IDs of child nodes that were merged to create this node.

entities: string[]

Key entities mentioned in this summary.

compactionEntryId: string

Compaction entry ID that produced this node.