179 questions
No questions match those filters.
What is RAGAS, and how does it evaluate a RAG pipeline...
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 plansRAGAS’s core trick is using an LLM itself as the evaluator, which lets most of its metrics run without a human-labeled ground truth for every single query. Faithfulness works by decomposing the generated answer into individual factual claims and checking each one against the retrieved context — a low score means the model said something the context didn’t actually support. Answer Relevancy runs almost in reverse: it generates plausible questions that the given answer would be responding to, then checks how well those generated questions match the user’s original question — a mismatch means the answer wandered off-topic.
Context Precision evaluates whether the retrieved chunks were actually relevant and appropriately ranked. Context Recall is the one metric that does need ground truth, since it compares what was retrieved against a known-correct answer to check whether the necessary information was even present in the retrieved set. The practical value of running all of these together, on a batch of test queries, is turning “does this change help” from a subjective read of a few examples into a number you can compare before and after a pipeline change.