RawExtraction
@forge/monorepo / backend/src / RawExtraction
Type Alias: RawExtraction
RawExtraction =
object
Defined in: backend/src/knowledge/graph.ts:52
What an extractor returns for one chunk, before validation.
Loose on purpose — it is the output of a language model, and typing it strictly here would only mean casting
somewhere less visible. sanitiseExtraction is the boundary where it becomes trustworthy.
Properties
entities?
readonlyoptionalentities?: readonlyobject[]
Defined in: backend/src/knowledge/graph.ts:53
relationships?
readonlyoptionalrelationships?: readonlyobject[]
Defined in: backend/src/knowledge/graph.ts:58