logoalt Hacker News

Pruning RAG context down to what the answer actually needs

67 pointsby emil_sorensenyesterday at 7:28 PM8 commentsview on HN

Comments

agentdev001today at 12:07 AM

Am I wrong to be somewhat peeved by the use of "RAG" in these contexts? I always read things like this, and wonder if instead the author should be saying "Semantic Retrieval" or something something Vector, etc. Retrieval augmented generation captures tool-use, and; semantic search of course is really just a tool under the hood.

To make an anology, in my mind, this is akin to saying "fuel air mixture system" when referring to direct fuel injection specifically, when of course, a carburetor also lives in that category.

show 2 replies
StackOptimisttoday at 2:41 AM

[flagged]

tangsoupgallerytoday at 2:23 AM

[flagged]

Technical_Planttoday at 12:31 AM

[flagged]

esafaktoday at 2:33 AM

tl,dr: They used a rubric to have the LLM grade the chunks on a Likert scale. I think this is a good way to coax numbers out of an LLM.

rooftopzenyesterday at 10:30 PM

Cliche topic - from a few years ago (the "RAG is dead" vs "All You Need Is Advanced RAG" BS - it came in waves and cycles, spread by bots on social media networks).

"Pruning RAG Context" is trying to recycle the old stuff (again), presuming the reader is naive (implies kapa.ai is not going anywhere). The current cycles were "openclaw" (I think that died), now we are on "harnesses" - when that dies the paid social media bots will give you something else. Shell game.

Just declare / define dictionary as a variable in your prompt to carry forward (when you decide to continue using LLMs for certain things). Also either summarize or truncate history. 3-4 year old concept. Not a big thing.

show 1 reply