Closed benthamite closed 1 year ago
This package doesn't use the Chat tunnel; instead, it uses the Completion channel.
https://github.com/emacs-openai/codegpt/blob/a8a8026430a74140e976aad3037a9a2f03698171/codegpt.el#L98
That's why the model
wouldn't work.
This package isn't intended to use ChatGPT, but I'm receiving feedbacks and ideas from the users' perspective! :)
Support for GPT-4?
To answer your question (title), it's already supported in the upstream https://github.com/emacs-openai/openai but not this package (yet?). I would like to hear what other people think, it's often unnecessary to use ChatGPT unless we are making a conversation. Suppose we are going to implement this, then it will turn this package to something else. e.g., code-assistant
, code-advisor
, etc. :)
WDYT?
For now the only way to access GPT-4 (which to me seems way better than GPT3.5, especially with regards to hallucination) is via the chat tunnel. So for now I think it would make sense to allow for the chat tunnel.
It seems like one or more people would like to see this implemented; I will work on this over the weekend! :)
It's in there, see https://github.com/emacs-openai/codegpt#-using-chatgpt for details.
Here is another implementation of ChatGPT. It's more advance and focuses on making the conversation. It's pretty fun. Go check it out! :D
The package works fine with
codegpt-model
set to the default value ("text-davinci-003"
). However, it fails when I set it to"gpt-4"
. OpenAI granted me access to the GPT-4 models yesterday, so I assume this is an issue with the package, especially given that it also fails when I setcodegpt-model
to"gpt-3.5-turbo"
. (See this page for a list of available models.)If GPT-4 is not currently supported, are there plans to support it soon? Thanks.
Backtrace: