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