Live data from Hacker News

Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

github.com

11–20 of 49 posts

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#11
post #8

Sick dude. Thank you! I love copilot.vim and use it quite extensively. Will try this. I only ever use the ChatGPT service through their website. Do you get an API key by default or is that a separate service?

I still use copilot as my main completion tool. I found ChatGPT to be too slow and expensive to use for tab complete level of usage, but it works really well for larger things (e.g. refactor X to do Y, or write unit tests). You can get your API key here https://platform.openai.com/account/api-keys .

Thank you!

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#12
post #3

It's like we're LLMs ourselves... generating different flavors of UIs to interface with chatGPT. That's what I think of when I see the proliferation of chatGPT UIs that hit the front page. Inevitably, human behavior that's similar to an LLM is ripe for replacement by an LLM due to the abundance of behavioral data.

> It's like we're LLMs ourselves...

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.

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#13
post #9

Sick dude. Thank you! I love copilot.vim and use it quite extensively. Will try this. I only ever use the ChatGPT service through their website. Do you get an API key by default or is that a separate service?

Does the API offer access to the same model as the one used in ChatGPT web app? If so it might be way cheaper to use the API than ChatGPT plus?

It's not the same. I don't know the technical differences, but in my tests it often returns wildly different results. anecdotally the API has also hallucinated modules that don't exist (but that I wish did!) whereas the chat gpt proper has not done that to me.

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#14
It defaults to temp 0.6. I thought that 0 was better for following instructions? At least it was for text-davinci-003. Is chatgpt-turbo different in this regard?

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.

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#15

Sick dude. Thank you! I love copilot.vim and use it quite extensively. Will try this. I only ever use the ChatGPT service through their website. Do you get an API key by default or is that a separate service?

Can we have something like the OP's method in VSCode, WITHOUT using CoPilot?

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#17
this is really cool and well done. i will start using it in conjunction with Codeium's plugin (free Copilot alternative): https://github.com/Exafunction/codeium.vim

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

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#18
post #17

this is really cool and well done. i will start using it in conjunction with Codeium's plugin (free Copilot alternative): https://github.com/Exafunction/codeium.vim 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

How are you supposed to use two plugins providing the same functionality? Are you gonna compare them and then uninstall one of them? Do they differ?

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.

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#19
post #17

this is really cool and well done. i will start using it in conjunction with Codeium's plugin (free Copilot alternative): https://github.com/Exafunction/codeium.vim 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

How are you supposed to use two plugins providing the same functionality? Are you gonna compare them and then uninstall one of them? Do they differ? 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.

they're complementary! codeium works like copilot, constantly autocompleting what you want to type next, which helps a lot when you already have a decent idea of what you need to get done and need to get it done faster. chatgpt (and chat interfaces in general) help you get some ideas on what to do when you are doing more open-ended exploration, and is explicitly invoked. as developers, we all code in these different "modes" and different tools can be built for each!

Re: Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

#20
Ha - this was my weekend project, was pretty sure something similar would pop up in a few days. It's been very handy to ask questions, summarize, proofread, give jailbroken wisecracks, etc. right within VIM where I can slice and dice the text at will.

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.

Post reply on HN