179 questions
No questions match those filters.
How would you make a RAG system say ‘I don’t know’?
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansImplementing a reliable ‘I don’t know’ mechanism requires understanding the failure modes of various approaches. Relying on similarity scores is insufficient because a document might be topically relevant but fail to contain the actual answer. Using log-probabilities is often unreliable because the output is frequently dominated by formatting tokens rather than semantic content. Finally, self-consistency methods can be problematic because they may simply compound a confident error if the model is consistently wrong. A robust system should combine these approaches or implement specific guardrails to handle these distinct failure modes.