Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.29 KB

File metadata and controls

28 lines (23 loc) · 1.29 KB

RAG Problem Map · CARD 1 · ΔS objects and zones

SECTION CONTENT
OBJECTS Q = user question
                | E = top-k retrieved docs (small k, e.g., 3–5),
                |   concatenated with a consistent separator
                | P = final user-side prompt string sent to model
                |   (template wrapping Q + E)
                | A = model answer

EMBEDDING + METRIC | I(X) = embedding of text X from one fixed model checkpoint | cos_sim(u,v) = cosine similarity in [0,1] | ΔS(X,Y) = 1 − cos_sim(I(X), I(Y)) // hence 0 ≤ ΔS ≤ 1

BOUNDARY SCORES | ΔS_QE = ΔS(Q,E) | ΔS_EP = ΔS(E,P) | ΔS_PA = ΔS(P,A) | ΔS_QA = ΔS(Q,A)

ZONES | safe: 0.00 ≤ ΔS < 0.40 | transit: 0.40 ≤ ΔS < 0.60 | risk: 0.60 ≤ ΔS < 0.85 | danger: 0.85 ≤ ΔS ≤ 1.00

NOTES | zone(ΔS) ∈ {safe, transit, risk, danger} | zone_order: safe < transit < risk < danger | "X is not worse than Y" means zone_order(X) ≤ zone_order(Y).