← Questions

RAG notebook with retrieval and evaluation

0
HarveyCodingLast asked Oct 2026

A coding interview question asked in Harvey's coding round, last asked Oct 2026. It tests rag, retrieval and pandas.

You are given a Python notebook with a small retrieval-augmented generation pipeline half built. A pandas DataFrame holds the passages, and helpers for loading data and calling an embedding model are already written.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Harvey · Coding · Last asked Oct 202660 min · Live practical coding · Candidates report freedom to use the tools and languages they know; confirm with your recruiter

What it tests

rag · retrieval · pandas · colab

Your code and the AI tutor open when you unlock this question.