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

Model Type Selection with GPT-4 #8

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Oscerlot
Copy link

Just added in a change so that a model type can be selected, and you can pick between GPT-3.5-Turbo, and GPT-4.

A warning is displayed if you select GPT-4 reminding you that you need approved API access for GPT-4

Thanks!

@keijiro keijiro self-assigned this Mar 20, 2023
@keijiro
Copy link
Owner

keijiro commented Mar 20, 2023

I'll consider adding it when I get an access to GPT-4 (I haven't gotten it yet).

{
case ModelType.gpt_4:
return "gpt-4";
default:

Choose a reason for hiding this comment

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

Should be a ModelType.gpt_3_5_turbo case before default. More practical for future versions of GPT. I'd also argue the default case should throw an error or at least log that it defaults to 3.5 because the given enum value could not be found.

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