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 -> URLParameters
- 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
Transcriptcolumn of each entry as JSON. Defaults tofalse.
Return Value
The URL of the saved file.