Contents

saveJSONLines(to:includeReportMetadata:includeTranscripts:)

Saves the array of evaluation results as a JSONL file

Declaration

@discardableResult func saveJSONLines(to url: URL, includeReportMetadata: Bool = false, includeTranscripts: Bool = false) throws -> URL

Parameters

  • url:

    The file URL to write the JSONL output to.

  • includeReportMetadata:

    Whether to include report metadata in each entry. Defaults to false.

  • includeTranscripts:

    Whether to encode each row’s transcript into the Transcript column of each entry as JSON. Defaults to false.

Return Value

The URL of the saved file.