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 for selection of GPT models gpt-4, gpt-4-32k and gpt-3.5-turbo #8142

Closed
gnep88 opened this issue Apr 29, 2023 · 1 comment
Closed
Assignees
Milestone

Comments

@gnep88
Copy link

gnep88 commented Apr 29, 2023

In what scenarios do you need this feature?

Want to use GPT4 instead of GPT 3.5 Turbo

Describe the optimal solution

req := gogpt.ChatCompletionRequest{
Model: gogpt.GPT3Dot5Turbo,
MaxTokens: maxTokens,
Messages: reqMsgs,
}

In above code, allow Model to be chosen from below list of Models

const (
GPT432K0314 = "gpt-4-32k-0314"
GPT432K = "gpt-4-32k"
GPT40314 = "gpt-4-0314"
GPT4 = "gpt-4"
GPT3Dot5Turbo0301 = "gpt-3.5-turbo-0301"
GPT3Dot5Turbo = "gpt-3.5-turbo"
GPT3TextDavinci003 = "text-davinci-003"
GPT3TextDavinci002 = "text-davinci-002"
GPT3TextCurie001 = "text-curie-001"
GPT3TextBabbage001 = "text-babbage-001"
GPT3TextAda001 = "text-ada-001"
GPT3TextDavinci001 = "text-davinci-001"
GPT3DavinciInstructBeta = "davinci-instruct-beta"
GPT3Davinci = "davinci"
GPT3CurieInstructBeta = "curie-instruct-beta"
GPT3Curie = "curie"
GPT3Ada = "ada"
GPT3Babbage = "babbage"
)

Describe the candidate solution

No response

Other information

No response

@gnep88 gnep88 changed the title 允许在UI改变GPT的Model Allow GPT Model selection in UI Apr 29, 2023
@88250 88250 self-assigned this Apr 30, 2023
@88250 88250 added this to the 2.8.7 milestone Apr 30, 2023
@88250 88250 changed the title Allow GPT Model selection in UI Support for selection of GPT models gpt-4 , gpt-4-32k and gpt-3.5-turbo Apr 30, 2023
@88250
Copy link
Member

88250 commented Apr 30, 2023

For the time being, only consider supporting gpt-4, gpt-4-32k and gpt-3.5-turbo. Other models may be used by fewer people and are more expensive, so we will not join them for the time being. Thanks for the suggestion.

@88250 88250 closed this as completed Apr 30, 2023
@88250 88250 changed the title Support for selection of GPT models gpt-4 , gpt-4-32k and gpt-3.5-turbo Support for selection of GPT models gpt-4, gpt-4-32k and gpt-3.5-turbo May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants