SourceReference
@forge/monorepo / backend/src / SourceReference
Type Alias: SourceReference
SourceReference =
object
Defined in: backend/src/knowledge/retrieval.ts:90
What a citation needs, derived from a hit so there is one shape rather than each caller's own (AC-6).
Properties
chunkId
readonlychunkId:string
Defined in: backend/src/knowledge/retrieval.ts:94
chunkIndex
readonlychunkIndex:number
Defined in: backend/src/knowledge/retrieval.ts:93
locator?
readonlyoptionallocator?:string
Defined in: backend/src/knowledge/retrieval.ts:96
The heading path, when the chunker found one. What makes a citation point at a place, not a document.
sourceId
readonlysourceId:string
Defined in: backend/src/knowledge/retrieval.ts:92
sourceType
readonlysourceType:KnowledgeSourceType
Defined in: backend/src/knowledge/retrieval.ts:91