AI Engineer

Case File: The Assistant (Finale)

Pull the season together: search the handbook, answer only when the best match is good enough, and abstain otherwise. Write one function that evaluates the assistant on a knowledge base and its questions, counts answered, abstained, correct and wrongly abstained questions, and run it on a second handbook you have never seen. Real Python on a handbook generated for you alone.

55 min

Case File: The Assistant (Finale)

Pull the season together: search the handbook, answer only when the best match is good enough, and abstain otherwise. Write one function that evaluates the assistant on a knowledge base and its questions, counts answered, abstained, correct and wrongly abstained questions, and run it on a second handbook you have never seen. Real Python on a handbook generated for you alone.

In this lesson:

  • llm
  • rag
  • abstention
  • evaluation
  • finale
  • python
  • case-file

🔒 This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans