Skip to content

Conversation

@DylanDelobel
Copy link
Contributor

@DylanDelobel DylanDelobel commented Jan 15, 2024

What:

  • Bug Fix
  • New Feature

Description:

The current model used in the example is deprecated

image

As OpenAI recommends replacing by gpt-3.5-turbo-instruct
https://platform.openai.com/docs/deprecations/instructgpt-models

@GromNaN GromNaN added the documentation Improvements or additions to documentation label Jan 16, 2024
@GromNaN GromNaN merged commit 39c3cdb into openai-php:main Jan 16, 2024
@GromNaN
Copy link
Collaborator

GromNaN commented Jan 16, 2024

Thank you Dylan!

@GromNaN
Copy link
Collaborator

GromNaN commented Jan 16, 2024

It's the same example on the laravel integration, if you want to fix it there as well.
https://github.com/openai-php/laravel/blob/main/README.md?plain=1#L49

@DylanDelobel
Copy link
Contributor Author

@GromNaN your link with the line highlighted show the v1/chat/completions endpoint and not v1/completions here
($client->completions() =/= $client->chat())
So all good! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants