Skip to content

KnowledgeChunk

type KnowledgeChunk = object;
id: string;

optional meta?: Record<string, unknown>;

text: string;

optional tokens?: number;

Estimated token count for this chunk (set by token-aware chunkers).