Skip to content

EvalSampleFeedbackV1

PromptScript API


Defined in: core/src/types/eval-import.ts:4

Feedback attached to a production sample. There is no free-text field on purpose.

Properties

label?

optional label?: string

Defined in: core/src/types/eval-import.ts:18

Feedback label.

Pattern

^[a-z][a-z0-9_-]{0,31}$

Example

"negative"

name

name: string

Defined in: core/src/types/eval-import.ts:10

Feedback name.

Pattern

^[a-z][a-z0-9_.-]{0,63}$

Example

"user.thumbs"

score?

optional score?: number

Defined in: core/src/types/eval-import.ts:12

Score, any finite number