AI & Technical question

How would you prevent and handle hallucinated case law in Harvey's answers?

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Tests AI product judgment on preventing and catching hallucinations in a domain where a fabricated citation has real legal consequences.

How to approach it

  1. Separate prevention from detection, since no model fully prevents hallucination and the product needs both a reduction strategy and a safety net.
  2. On prevention, propose grounding every answer in retrieval from verified legal databases rather than relying on the model's parametric memory of case law.
  3. On detection, propose an automated verification step that checks every generated citation actually exists and says what the answer claims it says.
  4. Design the user facing safeguard: flag any claim that fails automated verification before the lawyer ever sees it, rather than showing an unverified answer.
  5. Add a reporting channel so lawyers who catch a hallucination in practice can flag it, feeding back into both product fixes and model evaluation.
  6. Confirm with the interviewer whether the concern is fabricated cases entirely, or real cases cited for the wrong proposition, since the detection method differs.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

More questions from Harvey

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank