Lesson 4.2

Handling the no-answer case

The hardest behaviour to get is a clean "I don’t know". Make it an explicit, allowed output instead of the model’s last resort.

Duration
22m
Level
Advanced
Students
4.4k students

Overview

The hardest behaviour to get is a clean "I don’t know". Make it an explicit, allowed output instead of the model’s last resort.

In this lesson you will:

  • Detect when retrieval returned nothing relevant
  • Make abstaining an explicit, acceptable outcome
  • Offer a next step instead of a dead end

Resources

Sanity Context and content APIs

The official reference for the tools used in this lesson.