Chunk
@forge/monorepo / backend/src / Chunk
Type Alias: Chunk
Chunk =
object
Defined in: backend/src/knowledge/chunking.ts:58
A token estimate — one definition, in core/tokens.ts.
Shared with the context assembler on purpose: a chunk sized against one estimate and budgeted against a different one is a chunk that does not fit the budget it was measured for.
Properties
content
readonlycontent:string
Defined in: backend/src/knowledge/chunking.ts:60
index
readonlyindex:number
Defined in: backend/src/knowledge/chunking.ts:59
locator?
readonlyoptionallocator?:string
Defined in: backend/src/knowledge/chunking.ts:63
The heading path this chunk sits under, for a citation that resolves.
tokenCount
readonlytokenCount:number
Defined in: backend/src/knowledge/chunking.ts:61