Live data from Hacker News

Cody – The AI that knows your entire codebase

about.sourcegraph.com

71–80 of 88 posts

Re: Cody – The AI that knows your entire codebase

#71

This freaks me out. Even if it's not that good now, it looks like it's only going to get better and essentially either force programmers out of a job or force programmers to adopt non-free software to do their jobs. Grim.

I personally don't see it that way. I see it as a tool to help us be more productive as programmers. So much of my day to day when writing code is getting context, looking up best practices, and then writing code. With Cody I can get up to speed much faster and be more productive as a developer, giving me more time to do the things I want to do.

Re: Cody – The AI that knows your entire codebase

#72
I did 2 successful completions in VSCodium, then I checked and the Cody app said I used 17! I disabled autocompletions. Is there a way to manually trigger autocompletion when I'm ready instead of what I'm assuming is rapid-firing autocompletion requests while I'm typing?

Re: Cody – The AI that knows your entire codebase

#73
post #69

How outdated are the dataset used to train Cody? Something I find frustrating with ChatGPT4 is that it is still blocked in 2021, making it a pain to use with more recent libraries or frameworks. I’ve been doing some unreal engine development this year, and while ChatGPT knows UE4 really well it often provides me with outdated APIs or concepts when trying to learn UE5 C++. If Cody can directly learn from UE5 sources,…

The dataset used to "train" is from Antrhopic's Claude LLM (so vaguely up to date as of year-end 2022)

The premise of cody is the ability to pass entire repos in via embeddings and only highlight the relevant functions in various code snippets to pass into the LLM prompt.

Re: Cody – The AI that knows your entire codebase

#74

I did 2 successful completions in VSCodium, then I checked and the Cody app said I used 17! I disabled autocompletions. Is there a way to manually trigger autocompletion when I'm ready instead of what I'm assuming is rapid-firing autocompletion requests while I'm typing?

If you're worried about hitting your rate limit right now, don't worry. We are lenient; you can join our Discord and ask for a higher one if needed. Right now, unfortunately, you can disable autocomplete entirely in the Cody menu in the status bar, but you can't make it manual-trigger-only. That's a great idea that we should implement.

Re: Cody – The AI that knows your entire codebase

#76
post #43

Marketing hint: Given that you'll be competing with Copilot I'd love to see examples where Copilot fails and Cody does better. Also there are several typos on the linked page, you might want to read it over a few more times

I don't work there but immediately a big difference is Sourcegraph can be self hosted, Copilot cannot.

Re: Cody – The AI that knows your entire codebase

#77

This freaks me out. Even if it's not that good now, it looks like it's only going to get better and essentially either force programmers out of a job or force programmers to adopt non-free software to do their jobs. Grim.

Think about it this way – it will get better for turning natural language into code, but natural language will never get better than code for the job of theory-building behind a full-fledged application. Just because it's higher-level semantics are not as good for the business logic as code itself. Natural language is genetically bound with emotion and sentiment. It is inconsistent in the wildest ways and the words can have myriads of meanings. The best code craftsmen "think" code straight away, without the natural language shenanigans around it.

Re: Cody – The AI that knows your entire codebase

#79
post #78

I would use it if the LLM they used were better. It keeps inventing files that don't exist. If I could just provide my GPT-4 API key so it can use GPT-4 I'd be happy.

They use Claude 2 as AI backend with a 100K context window. In my experience Claude is better at programming than GPT-4 because it has a much younger cut-off date and because of the context window to process knowledge. Halluzination happens with all LLM's.

Re: Cody – The AI that knows your entire codebase

#80
post #43

Marketing hint: Given that you'll be competing with Copilot I'd love to see examples where Copilot fails and Cody does better. Also there are several typos on the linked page, you might want to read it over a few more times

I don't work there but immediately a big difference is Sourcegraph can be self hosted, Copilot cannot.

The prominence of such information cannot be understated. While Copilot is arguably the most recognized AI Code Assistant, Cody may offer superior features, such as enhanced privacy. However, this advantage isn't evident due to the lack of direct comparisons on their website. Even a search for "copilot vs cody" yields no dedicated page from Cody addressing the differences.
Post reply on HN