openai 3.0.0
Breaking changes in this release:
- The function signature of
createCompletion(engineId, params)changed tocreateCompletion(params). The value previously passed in as theengineIdargument should now be passed in asmodelin the params object (e.g.createCompletion({ model: "text-davinci-002, ... }))