Skip to content

EvalCacheRequestV1

PromptScript API


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

The request a cache entry answers; the cache key is derived from it.

Properties

apiId

apiId: string

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

Provider API model identifier.

Example

"claude-sonnet-5-5"

contentHash

contentHash: string

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

Content hash of the prompt bundle, or of the rubric for a judge call.

Pattern

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


inputsHash

inputsHash: string

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

Hash of the canonical JSON of the case inputs after validation and defaults. For a judge call it is the hash of the rubric inputs without boundary.

Pattern

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


modelRef

modelRef: string

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

Model reference as written in the suite or the prompt.

Example

"claude-sonnet-5-5"

params

params: ModelParams

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

Effective parameters of the call, the output token cap included


provider

provider: string

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

Provider name.

Example

"anthropic"

sample

sample: number

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

Sample index: 0 for the case call, the run index for judge calls.

As Type

integer

Minimum

0