Interface: IngestionWorkCacheDto
@kortexya/reasoninglayer / IngestionWorkCacheDto
Interface: IngestionWorkCacheDto
Section titled “Interface: IngestionWorkCacheDto”Defined in: src/types/ingestion.ts:935
Engine-counted work-cache provenance of one ingestion.
Remarks
Section titled “Remarks”Reused calls are provider calls not made; native grounding, admission and fresh document provenance still ran for their observations.
Properties
Section titled “Properties”bypassedModelCalls
Section titled “bypassedModelCalls”bypassedModelCalls:
number
Defined in: src/types/ingestion.ts:947
Of modelCalls, calls issued fresh because the request set freshWork;
the work cache was neither read nor written. 0 from engines that predate
the option, which never bypass.
modelCalls
Section titled “modelCalls”modelCalls:
number
Defined in: src/types/ingestion.ts:937
Provider calls this ingestion issued through the work cache.
reusedModelCalls
Section titled “reusedModelCalls”reusedModelCalls:
number
Defined in: src/types/ingestion.ts:939
Provider calls avoided by reusing a raw model observation.
reusedRecordedTokenUsage
Section titled “reusedRecordedTokenUsage”reusedRecordedTokenUsage:
TokenUsageDto
Defined in: src/types/ingestion.ts:953
Token usage recorded by the original computations of the reused
observations: an estimate of tokens avoided, not a measurement; never
included in tokenUsage.
unkeyedModelCalls
Section titled “unkeyedModelCalls”unkeyedModelCalls:
number
Defined in: src/types/ingestion.ts:941
Of modelCalls, calls that could not be cached (no immutable model identity, unrepresentable configuration or oversized input).