Skip to content

EvalReportCacheV1

PromptScript API


Defined in: core/src/types/eval.ts:445

Cache summary of a run.

Extends

Properties

digest

digest: string

Defined in: core/src/types/eval.ts:456

Digest of the consumed cache entries. Take the unique keys of every case’s cacheKeys, sorted ascending; for each key the lowercase hex SHA-256 of its entry file bytes; join those with \n and take the SHA-256 of the result. An empty set gives the SHA-256 of the empty string.

Pattern

^sha256-[0-9a-f]{64}$


live

live: number

Defined in: core/src/types/eval.ts:441

Calls made to a provider.

As Type

integer

Minimum

0

Inherited from

EvalCacheUseV1.live


mode

mode: EvalCacheMode

Defined in: core/src/types/eval.ts:447

Cache mode of the run


replayed

replayed: number

Defined in: core/src/types/eval.ts:435

Calls answered from the cache.

As Type

integer

Minimum

0

Inherited from

EvalCacheUseV1.replayed