Skip to content

Interface: IngestionWorkCacheDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / IngestionWorkCacheDto

Defined in: src/types/ingestion.ts:935

Engine-counted work-cache provenance of one ingestion.

Reused calls are provider calls not made; native grounding, admission and fresh document provenance still ran for their observations.

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: number

Defined in: src/types/ingestion.ts:937

Provider calls this ingestion issued through the work cache.


reusedModelCalls: number

Defined in: src/types/ingestion.ts:939

Provider calls avoided by reusing a raw model observation.


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: 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).