import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});
const response = await client.evaluationDatasets.generationJobs.cancel(
'evaluation_dataset_id',
'generation_job_id',
);
console.log(response);