import PiClient from 'withpi';const client = new PiClient({ apiKey: process.env['WITHPI_API_KEY'], // This is the default and can be omitted});const response = await client.data.generate.streamData('job_id');console.log(response);
import PiClient from 'withpi';const client = new PiClient({ apiKey: process.env['WITHPI_API_KEY'], // This is the default and can be omitted});const response = await client.data.generate.streamData('job_id');console.log(response);
Copy
"<string>"
Assistant
Responses are generated using AI and may contain mistakes.