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

choose model by argument #67

Closed
go-dockly opened this issue Mar 14, 2023 · 7 comments · Fixed by #151
Closed

choose model by argument #67

go-dockly opened this issue Mar 14, 2023 · 7 comments · Fixed by #151
Labels
enhancement New feature or request
Milestone

Comments

@go-dockly
Copy link

It would be useful to have a -m (--model 'gpt-4') argument for sgpt

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

@TheR1D
Copy link
Owner

TheR1D commented Mar 14, 2023

Currently GPT-4 is not available thru API, when OpenAI will allow to use it via API, it will be implemented.

@TheR1D TheR1D added GPT-4 development Changes related to development (utilities, tests, CI/CD) enhancement New feature or request and removed development Changes related to development (utilities, tests, CI/CD) labels Mar 14, 2023
@TheR1D TheR1D added this to the GPT-4 milestone Mar 14, 2023
@TheR1D TheR1D removed the GPT-4 label Mar 14, 2023
@go-dockly
Copy link
Author

is there a possibility to specify a model by cmd arg?
could this be added?

@TheR1D
Copy link
Owner

TheR1D commented Mar 14, 2023

Currently sgpt uses /chat API endpoint, which has only two available model options (except coming GPT-4): gpt-3.5-turbo - used by sgpt and gpt-3.5-turbo-0301. I think there is no reason to use gpt-3.5-turbo-0301 with sgpt. Imho it doens't make sense to have --model option for now, but once GPT-4 will be available over API, it will be implemented.

@go-dockly
Copy link
Author

coming gpt 4 it has this option gpt-4-32k (Same capabilities as the base gpt-4 mode but with 4x the context length)
so eventually it would be nice to differentiate between those but you are absolutely right it doesn't make sense to differentiate between -0301 versions.

@mdonaberger
Copy link

Just commenting to say that I got into the GPT-4 on API preview — I can imagine that it's rolling out now to a lot of people soon.

@lpurdy01
Copy link

I have just realized this does have the follow on issue of chats don't keep track of what model they were conducted with. I will have to see how this interacts.

@lpurdy01
Copy link

Nvm. It seems to work fine switching models with the same chat_id

@TheR1D TheR1D linked a pull request Apr 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants