← All parts of this equation

Equation 11 · Part 3 · Building Production RAG: An Advanced Technical Guide

Symbol k

Ltotal≈Lretrieve+k⋅ℓrerank+Lgenerate,L_{\mathrm{total}} \approx L_{\mathrm{retrieve}} + k \cdot \ell_{\mathrm{rerank}} + L_{\mathrm{generate}},
kk

What this part means

the number of candidates handed to the reranker.

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.

Where the article explains it

where k is the number of candidates handed to the reranker and ℓrerank\ell_{\mathrm{rerank}} is the marginal latency per candidate scored.

The passage around this formula

The latency consequence follows from where the reranker sits in the request path. A simplified but useful model of end-to-end latency is Ltotal≈Lretrieve+k⋅ℓrerank+LgenerateL_{\mathrm{total}} \approx L_{\mathrm{retrieve}} + k \cdot \ell_{\mathrm{rerank}} + L_{\mathrm{generate}}. where k is the number of candidates handed to the reranker and ℓrerank\ell_{\mathrm{rerank}} is the marginal latency per candidate scored. Recall generally improves as k grows, because a larger candidate set is more likely to contain the passage that actually answers the query — but k multiplies the one latency…

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.