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

Support gpt-3.5-turbo #23

Merged
merged 6 commits into from
Mar 7, 2023
Merged

Support gpt-3.5-turbo #23

merged 6 commits into from
Mar 7, 2023

Conversation

rikhuijzer
Copy link
Collaborator

@rikhuijzer rikhuijzer commented Mar 6, 2023

Support the newly released chat API (released 1st of March 2023): gpt-3.5-turbo. This model is better than the text models according to Greg Brockman. Also, gpt-3.5-turbo is 10 times cheaper than text-davinci-003 per token. Due to the increased complexity in supporting text models and chat models and me having only so much time in the day, this PR drops support for text models such as text-davinci-003. To support those again, tests should be added to the repository which mock both the OpenAI API and stdout (see kkawakam/rustyline#652 (comment) for a stdout mock example).

This PR is partially based on #21.

@rikhuijzer rikhuijzer mentioned this pull request Mar 6, 2023
@rikhuijzer rikhuijzer merged commit bfd544e into main Mar 7, 2023
@rikhuijzer rikhuijzer deleted the rh/gpt-3.5-turbo branch March 7, 2023 14:55
ctrlcctrlv pushed a commit to ctrlcctrlv/ata2 that referenced this pull request Aug 21, 2023
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.

Allow running of chat models such as gpt-3.5-turbo-0301
1 participant