Skip to content

reportFileName()

PromptScript API


reportFileName(suite): string

Defined in: eval/src/format.ts:418

File name of the report of one suite in a report directory: <suite>.<first 12 hex characters of the prompt content hash>.json.

Parameters

suite

EvalSuiteResultV1

The suite result of a one-suite report

Returns

string

The file name, no directory