Your RAG assistant returns a wrong answer even though the correct passage is clearly present in the retrieved context. Which component should you investigate first?
- The retriever, which failed to fetch the relevant passage
- The embedding model, which encodes the query wrongly
- The chunker, which split the passage too small
- The generator, which isn't grounding on the retrieved passage
Why
If the gold passage is in the context but the answer is wrong, retrieval already succeeded — the fault is generation ignoring or misusing the evidence (a faithfulness failure). Splitting retrieval and generation metrics localizes exactly this; embedding or chunking bugs would instead show up as the passage being absent.