GenAI: final assessment
This covers the whole course. Take it after the last module.
Final quiz
Practical assessment: A guarded generative assistant
Without hints or libraries, write a program that answers questions from a small set of notes with a stand-in model, and guards the whole path, from redaction of the input to a check of the answer.
- Personal data in the question is redacted before anything else happens
- Notes are cut into chunks and the best chunks are retrieved for the question
- The prompt is built from a template with numbered sources and a refusal rule
- The stand-in model's reply is validated as JSON, with at most three tries
- The final answer is checked against the sources, and weak answers are flagged for a person
Final project
A question-answering assistant over your notes: 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.
How it is evaluated
- Correctness: each function gives results you can check by hand on tiny inputs
- Safety: untrusted text is never treated as instructions and personal data is not sent on
- Understanding: you can explain every choice and every number in the report
- Clarity: retrieval, prompting, validation and checking are separate, readable functions
To complete this course
- Score at least 70% on the final quiz
- Solve the easy and medium exercises in every lesson
- Finish one project and check it against its evaluation criteria