← All parts of this equation

Equation 18 · Part 1 · Building Production RAG: An Advanced Technical Guide

Symbol k

kk
kk

What this part means

k is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

Its job in the formula

k is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

The passage around this formula

The second, less discussed failure mode is architectural rather than a missing check: whether filtering happens before or after the candidate set is fixed. A system that retrieves its top- k candidates first and then discards the ones the caller is not permitted to see can silently return fewer than k usable results — or, in the worst case, zero — without any error being raised, because nothing in that architecture treats “permitted candidate count fell below what the caller…

Read this part in the article →

Learn the underlying idea

A variable is a named place for a value. Its letter is a local label: x can mean position in one formula and a data point in another.

Open the illustrated variables: a letter stands for a value guide →

See this notation across published equations →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.