Javascript
import PiClient from 'withpi'; const client = new PiClient({ apiKey: 'My API Key', }); const response = await client.data.generateInputResponsePairs.streamMessages('job_id'); console.log(response);
"<string>"
Opens a message stream about a Generation Input-Response Pairs job
Streaming messages from the job
The response is of type string.
string