GraphChunkHit
@forge/monorepo / backend/src / GraphChunkHit
Type Alias: GraphChunkHit
GraphChunkHit =
object
Defined in: backend/src/knowledge/graph-retrieval.ts:102
A chunk reached through the graph, with the reason it was reached.
Properties
chunk
readonlychunk:KnowledgeChunk
Defined in: backend/src/knowledge/graph-retrieval.ts:103
score
readonlyscore:number
Defined in: backend/src/knowledge/graph-retrieval.ts:105
0–1 relative to the best hit in this result, as every other mode's score is.
viaEntities
readonlyviaEntities: readonlystring[]
Defined in: backend/src/knowledge/graph-retrieval.ts:107
The entities that led here, so the answer can say why this chunk is relevant.