Skip to content
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

Implement OpenAI July 2023 Updates #427

Merged
merged 4 commits into from
Jul 9, 2023

Conversation

liushuangls
Copy link
Contributor

Describe the change
Implement OpenAI July 2023 Updates

Issue: #425

edits.go Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jul 7, 2023

Codecov Report

Merging #427 (cb99604) into master (619ad71) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #427   +/-   ##
=======================================
  Coverage   97.02%   97.02%           
=======================================
  Files          17       17           
  Lines         705      705           
=======================================
  Hits          684      684           
  Misses         15       15           
  Partials        6        6           
Impacted Files Coverage Δ
completion.go 100.00% <ø> (ø)
edits.go 100.00% <ø> (ø)
embeddings.go 100.00% <ø> (ø)

completion.go Outdated
GPT3Ada = "ada"
GPT3Babbage = "babbage"
// Deprecated: Will be shut down on January 04, 2024. Use davinci-002 instead.
GPT3Davinci = "davinci"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thank you for the PR. I've re-read OpenAI post and I think we might not need to warn about these non-numerated models:

Applications using the stable model names for base GPT-3 models (ada, babbage, curie, davinci) will automatically be upgraded to the new models listed above on January 4, 2024. The new models will also be accessible in the coming weeks for early testing by specifying the following model names in API calls: ada-002, babbage-002, curie-002, davinci-002.

https://openai.com/blog/gpt-4-api-general-availability

Copy link
Contributor Author

@liushuangls liushuangls Jul 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sashabaranov Fixed it.

@sashabaranov sashabaranov merged commit 7b22898 into sashabaranov:master Jul 9, 2023
@sashabaranov
Copy link
Owner

Thank you! 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants