skinny.

Latest / Logosofia no Dia a Dia

Weighting Memory in a RAG Pipeline

Daniel asked whether there's a framework that lets you set the weighting of a composite prompt's inputs deterministically — a mathematical parameter instead of a system prompt begging the model to pay attention. The answer is nuanced: system prompts genuinely have no architectural privilege, but retrieval does have a real scalar. Grounded Decoding from Iowa State fuses a full RAG distribution with a retrieval-only distribution using a tunable parameter called rho, and the adaptive variant cranks grounding weight on factual tokens while relaxing it on grammar. The catch is roughly doubled…

The skinny

The skinny isn't ready yet — notes appear once the transcript is processed.