MCPcopy
hub / github.com/promptfoo/promptfoo / createOutputPath

Function createOutputPath

test/evaluate.jsonl.test.ts:17–19  ·  view source on GitHub ↗
(extension = '.jsonl')

Source from the content-addressed store, hash-verified

15import type { ApiProvider } from '../src/types';
16
17function createOutputPath(extension = '.jsonl'): string {
18 return path.join(os.tmpdir(), `promptfoo-evaluate-${randomUUID()}${extension}`);
19}
20
21function readJsonl(outputPath: string): Array<Record<string, any>> {
22 return fs

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…