News for hackers. Stuff that matters.
Re:What makes Claude Code so damn good by dingnuts on Saturday August 23, 2025 @03:51PM (#44998611)
the article says CC doesn't use RAG, but then describes how it uses tools to Retrieve context to Aid Generation... RAG

what am I missing here?

edit: lol I "love" that I got downvoted for asking a simple question that might have an open answer. "be curious" says the rules. stay classy HN

Re:What makes Claude Code so damn good by ebzlo on Saturday August 23, 2025 @03:55PM (#44998638)
Yes technically it is RAG, but a lot of the community is associating RAG with vector search specifically.
Re:What makes Claude Code so damn good by dingnuts on Saturday August 23, 2025 @03:59PM (#44998673)
it does? why? the term RAG as I understand it leaves the methodology for retrieval vague so that different techniques can be used depending on the, er, context.. which makes a lot more sense to me
Re:What makes Claude Code so damn good by koakuma-chan on Saturday August 23, 2025 @04:17PM (#44998795)
> why?

Hype. There's nothing wrong with using, e.g., full-text search for RAG.

Re:What makes Claude Code so damn good by BoorishBears on Saturday August 23, 2025 @03:58PM (#44998656)
If you want to be really stringent, RAG originally referred to going from user query to retrieving information directly based on the query then passing it to an LLM: With CC the LLM is taking the raw user query then crafting its own searches

But realistically lots of RAG systems have LLM calls interleaved for various reasons, so what they probably mean it not doing the usual chunking + embeddings thing.

Re:What makes Claude Code so damn good by theptip on Saturday August 23, 2025 @04:10PM (#44998746)
Yeah, TFA clearly explains their point. They mean RAG=vector search, and contrast this with tool calling (eg Grep).
Re:What makes Claude Code so damn good by nuwandavek on Saturday August 23, 2025 @07:01PM (#44999808)
(blogpost author here) You're right! I did make the distinction in an earlier draft, but decided to use "RAG" interchangeably with vector search, as it is popularly known today in code-gen systems. I'd probably go back to the previous version too.

But I do think there is a qualitative different between getting candidates and adding them to context before generating (retrieval augmented generation) vs the LLM searching for context till it is satisfied.

Re:What makes Claude Code so damn good by faangguyindia on Sunday August 24, 2025 @05:00AM (#45002603)
It doesn't use RAG is the most obvious way, like taking whole text/code and generating embeddings and performing vector search on it.