Skip to main content

EvalOutput

@retinue/monorepo


@retinue/monorepo / backend/src / EvalOutput

Type Alias: EvalOutput

EvalOutput = object

Defined in: backend/src/evaluation/graders.ts:45

What the agent produced, as the runtime produced it.

Parts, not a string. Grading prose for "did it call the tool" is a regular expression pretending to be a measurement; grading parts is reading what happened. text is derived here for the graders that genuinely need words.

Properties​

parts​

readonly parts: readonly MessagePart[]

Defined in: backend/src/evaluation/graders.ts:46


refusalReason?​

readonly optional refusalReason?: string

Defined in: backend/src/evaluation/graders.ts:49


refused?​

readonly optional refused?: boolean

Defined in: backend/src/evaluation/graders.ts:48

True when the run refused rather than answering. Structural, from the runtime.