Skip to content

Commit

Permalink
Add createCompletionFromModel note in upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
schnerd committed Dec 24, 2022
1 parent eaade74 commit 0fc84b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ All breaking changes for major version releases are listed below.
### 3.0.0

- The function signature of `createCompletion(engineId, params)` changed to `createCompletion(params)`. The value previously passed in as the `engineId` argument should now be passed in as `model` in the params object (e.g. `createCompletion({ model: "text-davinci-002, ... })`)
- Replace any `createCompletionFromModel(params)` calls with `createCompletion(params)`

## Thanks

Expand Down

0 comments on commit 0fc84b6

Please sign in to comment.