Test retrieval with an intentionally unrelated request

Look one word ahead when copying titles and labels. · 181 words

Give a museum guide assistant one source: 'Weekend Walks in Portland', by Sam Ortiz, 2023, pages 6-12. Ask an unrelated question: 'Using only this source, find a recipe for lentil soup.' Add: return the title, page, and an exact quote if supported. Otherwise return 'No relevant source found' with no citation. The worked answer is 'No relevant source found.' The checkable result is an empty evidence list because the guide describes walking routes and contains no recipe. This test checks whether the assistant honors its source boundary instead of answering from memory.

Try two catalog records: 'The Art of Bread', ID BK-41, and 'Portland by Bike', ID TR-8. Ask for bicycle repair instructions using only those records. Say, 'Retrieve steps only from a quoted passage. Otherwise report no relevant evidence and zero citations.' The correct output is 'No relevant source found' with an empty citation list, even though the bicycle record sounds close to the topic. Repeat the request and inspect the log. It should show no supporting passage. This negative test shows that citations reflect retrieved evidence, not general knowledge.

Check your recall

What should the assistant return when an intentionally unrelated request has no supporting source?

Check your answer

It should state that no relevant source was found, return an empty citation or evidence list, and avoid answering from general knowledge. The retrieval log should confirm that no supplied source supports the request.

Sources and credits

Original KeyTouch lesson. Background reading · DAIR.AI · Retrieval Augmented Generation.