ChatGPT.nvim icon indicating copy to clipboard operation
ChatGPT.nvim copied to clipboard

Anyone tried that this plugin works 3.5 turbo?

Open PorcoRosso85 opened this issue 1 year ago • 1 comments

https://platform.openai.com/docs/guides/chat Anyone tried that this plugin works chatgpt api 3.5 turbo?

OR https://platform.openai.com/docs/guides/code/introduction Codex?

PorcoRosso85 avatar Mar 15 '23 08:03 PorcoRosso85

It is set to 3.5 turbo by default and it works. I also changed it to gpt-4 and it works fine.

Zinnusl avatar Mar 17 '23 17:03 Zinnusl

Excellent. Thanks.

PorcoRosso85 avatar Mar 18 '23 02:03 PorcoRosso85

@Zinnusl can I ask how you configured it to work with gpt-4? I have access to gpt-4 in web interface, but cant get working it with this plugin

dragonofdeath avatar Mar 29 '23 12:03 dragonofdeath

@Zinnusl can I ask how you configured it to work with gpt-4? I have access to gpt-4 in web interface, but cant get working it with this plugin

If, with web interface you mean ChatGPT Plus, that will not work with this. For this plugin you will need access to the API here: https://platform.openai.com/account/api-keys If I misunderstand and you do have that set up, you also need to sign up for the wait list here: https://openai.com/waitlist/gpt-4-api Once you do have access you can change the model by pressing with the :ChatGPT modal open. (Or set it as the default in the plugin internals)

Zinnusl avatar Mar 29 '23 14:03 Zinnusl

oh, yes, I thought ChatGPT Plus gives that access. Thank you @Zinnusl, I will join the waiting list.

dragonofdeath avatar Mar 29 '23 14:03 dragonofdeath

Thanks was wanting this also!

lpanebr avatar Apr 06 '23 15:04 lpanebr

Is there a config to change? I didn't get how to ask it to use gpt-4?

I got it: ‘‘‘lua openai_params = { model = "gpt-3.5-turbo",

‘‘‘

lpanebr avatar Apr 06 '23 15:04 lpanebr

@lpanebr You can press ctrl-o when in insert mode in the prompt line to open up the settings, too. Then navigate the windows with Tab and up and down arrow.

Zinnusl avatar Apr 06 '23 17:04 Zinnusl

Ow, now I see. I need to leave the config as is and change on the prompt window by Tab then Enter to edit the value! image

It works! THANKS!

lpanebr avatar Apr 06 '23 19:04 lpanebr

Hi, when switching to gpt-4 I get a prompt with: // API ERROR: The model: gpt-4 does not exist

sudoFerraz avatar Apr 10 '23 13:04 sudoFerraz