Skip to content

@gettoor/core v0.1.0


@gettoor/core / ScalarScoringScale

Interface: ScalarScoringScale ​

A scoring scale for the scalar evaluation.

Properties ​

max ​

max: number

The maximum score.


min ​

min: number

The minimum score.


prompt ​

prompt: string

The prompt to use for the scoring scale.

See ​

Example ​

ts
const scoringScale: ScalarScoringScale = {
  min: 0,
  max: 1,
  prompt: `
    0 = Incorrect or irrelevant
    1 = Correct
  `,