API Reference
ModelGraderOptions
Defined in: goal/model-grader.ts:24
Construction options for modelGrader.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
model | ModelClient | The grader model — typically a small, fast one, separate from the agent. | goal/model-grader.ts:26 |
system? | string | Override the grading system prompt. The default instructs the model to return only a { done, score, feedback } JSON verdict. | goal/model-grader.ts:31 |