productinterview.tools
MenuClose

Our RAG Assistant Gives Wrong Answers. Where Do You Look?

The interviewer asksYour RAG assistant over the company handbook gives wrong answers about 15% of the time. How do you find out why?

Forward Deployed EngineerAI Product EngineerApplied AI PM (secondary)CoreBuild roundRepresentative7 min

On this page
  1. The 30-second version
  2. What it's really testing
  3. How to structure your answer
  4. The interview, played out
  5. The strong answer, distilled
  6. How it's scored
  7. How the answer changes by role
  8. Common mistakes
  9. More follow-ups to practise
  10. Go deeper
  11. Sources

The 30-second version

  1. Collect the wrong answers with what was retrieved for each.
  2. Sort each failure: right passage not retrieved, or retrieved but misused?
  3. Retrieval failures: chunking, search method, missing or outdated documents.
  4. Generation failures: too much context, unclear instructions, model ignoring the source.
  5. Count each type and fix the biggest first; add the cases to an eval set.

Watch it played outSee the strong answerHow it's scored

What it's really testing

  • Diagnosing RAG systematically
  • Separating retrieval from generation
  • Prioritising fixes

How to structure your answer

  1. Gather failures with their retrieved context.
  2. Classify each failure.
  3. Count and prioritise.
  4. Fix and add to evals.

The interview, played out

A written example interview, not a real candidate or company transcript.Strong moveMissed signalRevealed when asked
  1. Interviewer
    Your RAGRetrieval-augmented generation. Fetching relevant documents and putting them in the model's context before it answers. Read the full explanation assistant over the company handbook gives wrong answers about 15% of the time. How do you find out why?
  2. Candidate
    I'd pull 50 wrong answers along with the passages that were retrieved for each. Then for each one ask: was the right passage retrieved at all?
  3. Strong move
    Separates retrieval from generation from the start.
  4. Revealed when asked
    In 35 of 50, the right passage wasn't retrieved. In 15, it was, but the answer still went wrong.
  5. Candidate
    So retrieval is the bigger problem. For those 35 I'd look at why: are the passages split badly, does the question use different words from the handbook, or is the content missing?
  6. Revealed when asked
    Many questions use informal words ("time off") while the handbook says "annual leave".
  7. Candidate
    That's a vocabulary mismatch. Adding keyword search alongside semantic search helps, and so does rewriting the question into handbook terms before searching.
  8. Interviewer
    And the other 15?
  9. Candidate
    Those are generation: tighten the instruction to answer only from the passages and quote them.
  10. Missed signal
    Should say the 50 cases become an eval set to measure each fix.

The strong answer, distilled

  • Gather: 50 wrong answers with their retrieved passages.
  • Classify: 35 retrieval misses, 15 misuse of the right passage.
  • Retrieval fix: vocabulary mismatch → hybrid search and query rewriting.
  • Generation fix: answer only from quoted passages.
  • Measure: turn the 50 cases into an eval set and track recall and answer correctness.

This is one strong answer, not the only one.

How it's scored

Dimension Weak (2) Passable (3) Strong (5)
Method Tweaks the prompt Reads failures Classifies retrieval vs generation
Diagnosis Guesses Finds a cause Counts causes and finds the biggest
Measurement None Re-tests An eval set from the failures

Round scorecard: FDE: technical and build round, filled in for the mock candidate

DimensionWeakPassableStrongThe mock candidate
ClarifyingStarts coding immediately.Asks a few questions.Pins down the goal, inputs and what done means first.Strong. Asked for the failing examples first.
ApproachUnworkable or over-built.Workable.The simplest approach that works, stated before building.Strong. Split retrieval failures from generation failures.
TestingTries one happy-path input.Tries a few inputs.Tests varied and bad inputs, and checks outputs systematically.Strong. Counted failure types before fixing.
Trade-offsNone mentioned.Some.Says what was cut, why, and what comes next.Passable. Fixes were right but not prioritised by count until asked.

How the answer changes by role

Role What to emphasise
Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation Fast diagnosis with the customer's documents
AI Product Engineer Retrieval changes and the eval harness
Applied AI PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation Prioritising fixes by user impact

Common mistakes

  • Changing the model before checking retrieval
  • Fixing without counting causes
  • No regression set

More follow-ups to practise

  • "Retrieval is right but the handbook itself is wrong." Hint: fix the source and its owner.
  • "Some questions need two sections combined." Hint: retrieve more, or multi-step retrieval.

Go deeper

Sources

Representative question: written to match build rounds for AI product roles, not a specific reported interview.