Skip to content

Commit 39c3cdb

Browse files
authored
Merge pull request #17 from DylanDelobel/patch-1
Update deprecated model in exemple As OpenAI recommend to replace by gpt-3.5-turbo-instruct https://platform.openai.com/docs/deprecations/instructgpt-models
2 parents 0d0d76e + 26f9b8b commit 39c3cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Finally, you may use the `openai` service to access the OpenAI API:
4646

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

0 commit comments

Comments
 (0)