jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.57k stars 307 forks source link

latest chatgpt-4 preview model for increased token window size #331

Closed star-3gg closed 5 months ago

star-3gg commented 7 months ago

Idk if this goes against your intentions for the plugin since i only recently stumbled on it but i think it would be cool if there was a way for developers to also use the newer chatgpt-4 models since it allows for pretty big prompts and is very fast too.

Ignore this pull request if chatgpt-4 usage is not intended.

jackMort commented 7 months ago

Hi, we should switch to new model but what do you think about using: gpt-4 as default ?

star-3gg commented 7 months ago

Hi, we should switch to new model but what do you think about using: gpt-4 as default ?

I think that is a great idea as well, I experimented with the preview model to see how the response speed would be.

:+1:

Aaronik commented 6 months ago

I'm already doing this in the normal config, why does it need to be defaulted? Doesn't still not everyone have access to that model?

star-3gg commented 5 months ago

Hey, I had an idea just now. Wouldn't it be great to have the user select a model during the installation / setup? This way nobody is limited or left out

Aaronik commented 5 months ago

During use IMO - I like to use 3.5 for most questions, and 4 for the tricky stuff. Keeps costs down and speed up

star-3gg commented 5 months ago

That's a very good point