Skip to content

Commit

Permalink
Merge pull request #17 from DylanDelobel/patch-1
Browse files Browse the repository at this point in the history
Update deprecated model in exemple

As OpenAI recommend to replace by gpt-3.5-turbo-instruct
https://platform.openai.com/docs/deprecations/instructgpt-models
  • Loading branch information
GromNaN authored Jan 16, 2024
2 parents 0d0d76e + 26f9b8b commit 39c3cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Finally, you may use the `openai` service to access the OpenAI API:

```php
$result = $container->get('openai')->completions()->create([
'model' => 'text-davinci-003',
'model' => 'gpt-3.5-turbo-instruct',
'prompt' => 'PHP is',
]);

Expand Down

0 comments on commit 39c3cdb

Please sign in to comment.