()
| 265 | // checkBatchStatus(); |
| 266 | |
| 267 | const downloadBatch = async () => { |
| 268 | const fileResponse = await openai.files.content(""); |
| 269 | const fileContents = await fileResponse.text(); |
| 270 | |
| 271 | fs.appendFile("scripts/out.jsonl", fileContents, (err: any) => { |
| 272 | if (err) { |
| 273 | console.error(err); |
| 274 | return; |
| 275 | } |
| 276 | console.log("File has been saved"); |
| 277 | }); |
| 278 | }; |
| 279 | |
| 280 | // downloadBatch(); |
nothing calls this directly
no outgoing calls
no test coverage detected