Skip to content

Update deprecated model in exemple #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 16, 2024
Merged

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