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

Prepare for the new GPT 3.5 Turbo model #617

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

dkotter
Copy link
Collaborator

@dkotter dkotter commented Nov 14, 2023

Description of the Change

As part of their dev day last week, OpenAI announced that the base GPT 3.5 Turbo model will be updated to support 16K context length starting on December 11th.

This model can be used now by referencing gpt-3.5-turbo-1106 instead of the generic gpt-3.5-turbo and I had considered doing this but by keeping our reference to gpt-3.5-turbo, this will ensure we are always using the latest version of that model, which I would prefer.

This PR just changes the max content length we consider, from the previous of 4,096 to the new of 16,385. This PR should be merged and released sometime between now and December 11th when this becomes the new default context length (not a huge risk to release this sooner, could mean users run into max token length errors though).

How to test the Change

Verify any OpenAI ChatGPT features still work as expected

Changelog Entry

Changed - Increase our max content length for any interactions with ChatGPT

Credits

Props @dkotter

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@dkotter dkotter added this to the 2.5.0 milestone Nov 14, 2023
@dkotter dkotter self-assigned this Nov 14, 2023
@dkotter dkotter requested review from jeffpaul and a team as code owners November 14, 2023 20:50
@dkotter dkotter requested review from a team and ravinderk and removed request for jeffpaul and a team November 14, 2023 20:50
@dkotter dkotter merged commit cde18f2 into develop Nov 27, 2023
13 checks passed
@dkotter dkotter deleted the feature/gpt-3-5-context branch November 27, 2023 16:11
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.

2 participants