Creates a completion for the provided prompt and parameters.
Optional
const completion = await client.completions.create({ model: 'string', prompt: 'This is a test.',}); Copy
const completion = await client.completions.create({ model: 'string', prompt: 'This is a test.',});
Creates a completion for the provided prompt and parameters.