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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Ability to select a OpenAI model #153

Open
gianpaj opened this issue Jan 25, 2024 · 2 comments
Open

[Feature Request] Ability to select a OpenAI model #153

gianpaj opened this issue Jan 25, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request PR welcome Pull request welcome

Comments

@gianpaj
Copy link

gianpaj commented Jan 25, 2024

馃挱 Describe the feature

I think the default one is hardcoded to gpt-3.5-turbo

model: 'gpt-3.5-turbo',

馃挕 Proposed Solution

Be able to set the AI model in the czg command line
e.g.

czg --ai-model=gpt-4-1106-preview

https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo

@gianpaj gianpaj added the enhancement New feature or request label Jan 25, 2024
@gianpaj
Copy link
Author

gianpaj commented Jan 25, 2024

Related but not the same as #102

As you can't specify the exact model.

GPT-4 turbo (gpt-4-1106-preview) is 66% cheaper than GPT-4 (gpt-4)
image

gpt-3.5-turbo-1106 costs $0.0010聽/ 1K tokens

But gpt-4-1106-preview is 1000% more expensive than gpt-3.5-turbo-1106 馃槵馃挵

https://openai.com/pricing

@Zhengqbbb Zhengqbbb added the next version Plan for next version label Jan 25, 2024
@Zhengqbbb
Copy link
Owner

Unfortunately, my openai api key has expired, and I can't renewal it, so the feature may not be landed in time.

Sure ~ PR Welcome 馃槈

@Zhengqbbb Zhengqbbb added PR welcome Pull request welcome and removed next version Plan for next version labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request PR welcome Pull request welcome
Projects
None yet
Development

No branches or pull requests

2 participants