import PiClient from'withpi';const client =newPiClient({apiKey: process.env['WITHPI_API_KEY'],// This is the default and can be omitted});asyncfunctionmain(){const response =await client.training.sft.streamMessages('job_id');
console.log(response);}main();
import PiClient from'withpi';const client =newPiClient({apiKey: process.env['WITHPI_API_KEY'],// This is the default and can be omitted});asyncfunctionmain(){const response =await client.training.sft.streamMessages('job_id');
console.log(response);}main();