Live data from Hacker News

Show HN: CodeGPT.nvim – ChatGPT plugin for Neovim

github.com

21–30 of 49 posts

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

#21
post #9

Earlier quoted context omitted.

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?

> Does the API offer access to the same model as the one used in ChatGPT web app? 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…

I just tested the API, it seems to have the same speed as ChatGPT plus. I quickly tested some questions and it seems that OpenAI web app has a bit more relevant answers, I wonder whether it's related to the temperature and other parameters.

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

#22
post #9

Earlier quoted context omitted.

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.

I suspect it comes down to the "system" prompt the API lets you set, which is hidden & pre-set on ChatGPT proper.

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

#23
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

HN encurage you to mention your own products when relevant, so you don't have to wrap it in, just put it bluntly.

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

#27
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 .

Do these api keys still work for free users?

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

#28
post #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…

>forcing us to confront who we are.

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.

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

#30

So, these utilize OpenAI API key. Do people run into limits have to go for paid version while utilizing apps based on openai API?

Do you mean for the plugin creator or as a user?

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.

Post reply on HN