Skip to content

LabelContext

PromptScript API


Defined in: eval/src/labels.ts:10

What a label file is checked against.

Properties

assertionIds

assertionIds: ReadonlySet<string>

Defined in: eval/src/labels.ts:14

Ids of every assertion of the suite


judgeIds

judgeIds: ReadonlySet<string>

Defined in: eval/src/labels.ts:12

Ids of the suite’s llm-judge assertions


suiteFile

suiteFile: string

Defined in: eval/src/labels.ts:16

Suite file, for messages


writtenPath?

optional writtenPath?: string

Defined in: eval/src/labels.ts:18

Path of the label file as written in the suite; its extension picks the format