Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim
github.com
github.com
Also if you have installed any GPT command line program like askleo and don't need to give it context you can just run :r !askleo description of function and language here
Although askleo uses text-davinci-003 so I would use one set up for ChatGPT instead. Or if you are not too lazy this extension looks great.
What would be really nice is something that automatically selected context and then streamed in the code. Also it should come with a short command or default for that.
The Telescope-esque UI is nicely done as well.
for transparency: I'm from the Codeium team, and we are big fans of getting this AI gen tech to all developers on all IDEs for free - we've also open sourced an emacs plugin: https://github.com/Exafunction/codeium.el
As far as I can tell, it seems like you just wanted to plug your own plugin, but I'm happy if I'm wrong. I just to understand how you can use two plugins that provide the same functionality and why you would do that.
Not sure if this supports the API's "streaming mode" but it's nice for seeing the output typing in real time. Requires spawning a separate job though.
You can get your API key here https://platform.openai.com/account/api-keys.
Chat API is this: https://platform.openai.com/docs/api-reference/chat/create
URL that the plugin is using for the API call is here: https://github.com/dpayne/CodeGPT.nvim/blob/1ff70459b170ddaf...
TLDR: yes
> If so it might be way cheaper to use the API than ChatGPT plus?
I haven't used ChatGPT Plus, just the normal one. But at least the demonstration GIF makes it seem kind of slow. One selling point of the Plus service is supposedly that you get faster responses.
I tried to build a saas app which generates logos and I had to upgrade.
Using chatgpt prompt on the free tier, I sometimes dont get responses due to volume of requests(I believe free tier gets culled in these cases?). Or sometimes its just extremely slow.
In this case, once you setup with your api key, its free to use inside neovim.
nvim scp://host//foo.barInevitably, human behavior that's similar to an LLM is ripe for replacement by an LLM due to the abundance of behavioral data.
Absolutely. That’s a very exciting thing. These tools are forcing us to confront who we are.
Interestingly, LLMs (so far) are similarly limited, they can only ingest/digest so much data at a time, so we are trying to figure ways around it.
Just like humans, soon there will be lots of specialized LLMs, ones that do only certain types of law, or only one programming language, or even just one codebase, etc.
Fun times coming.
LLMs don't force me to confront who I am any more than a dog does when I see them eating. LLMs generate copycat ideas. So do I. Dogs eat. So do I. Neither of these cause me any kind of identity crisis.
However. Can dogs write too? Can they write better code than you? Can they write better letters/documents/proposals/essays than you?
Because ChatGPT can.
If you apply that at a global scale, as quickly as it is happening, it’s easy to imagine that pretty soon there’s going to be a big change in the way we interact with technology and how we view ourselves in the world.