Interface RaptorInputChunk

Input chunk for building the RAPTOR tree.

Interface

RaptorInputChunk

interface RaptorInputChunk {
    id: string;
    text: string;
    metadata?: Record<string, unknown>;
}

Properties

Properties

id: string

Unique chunk identifier.

text: string

Chunk text content.

metadata?: Record<string, unknown>

Optional metadata to preserve in the tree.