A question-answering assistant over your notes

The problem

Build a small retrieval-augmented assistant in plain Python that answers questions from your own notes, cites its sources, refuses when the notes do not contain the answer, and is tested on questions you wrote.

Requirements

Technologies

Step by step

  1. Write the notes and the test questions with their right answers.
  2. Write the chunking function and check it on one note by hand.
  3. Write the two retrievers and compare which finds the right chunk for more questions.
  4. Build the prompt, the stand-in model and the support check.
  5. Run the whole test set and write a short report of the scores and the failures.

Expected result

A working assistant with a table of scores and a short explanation of why it fails where it fails.

How it is evaluated

Ways to improve it