Pruning RAG context down to what the answer actually needs
11–20 of 54 posts
Re: Pruning RAG context down to what the answer actually needs
#12Re: Pruning RAG context down to what the answer actually needs
#13Am 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 refe…
I read “RAG Context” as “the retrieved content injected into the context window”
Re: Pruning RAG context down to what the answer actually needs
#14tl,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.
Re: Pruning RAG context down to what the answer actually needs
#15Earlier quoted context omitted.
I read “RAG Context” as “the retrieved content injected into the context window”
So when an agent does "cat file.txt" that's RAG to you?
It doesn't have to be a vector database.
Kapa is one of the few companies doing RAG right.
Re: Pruning RAG context down to what the answer actually needs
#16tl,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.
Likert scale just doesn't work in LLM evals. My idea of 3/5 is different from your 3 and definitely different from an non-deterministic system's 3.
Re: Pruning RAG context down to what the answer actually needs
#17Earlier quoted context omitted.
I read “RAG Context” as “the retrieved content injected into the context window”
So when an agent does "cat file.txt" that's RAG to you?
Re: Pruning RAG context down to what the answer actually needs
#18Re: Pruning RAG context down to what the answer actually needs
#19Cliche 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 med…
However, resources consumed expand so much with context that I think there is a huge practical barrier there. In the beginning AI services were basically free so nobody cared but this is rapidly shrinking.
Personally I see more in a combination of RAG and live querying during the thinking process (e.g. by tools).
Also I don't think dumping any context that might be relevant into the model really helps accuracy. In my experience models just get lost when they get an overload of irrelevant stuff in their context and start overlooking the relevant parts even if it does fit the window.
Re: Pruning RAG context down to what the answer actually needs
#20Am 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 refe…