How to Make Your AI App Say "I Don't Know": Structured Output in Practice

Proper_Letterhead_45 · reddit · 2026-12-02

A practical guide to honest AI answers: pass a JSON schema with a boolean like "found" via responseformat, constrain sources in the prompt, give users a graceful fallback (link, search, human handoff), and keep a regression list of unanswerable questions—since schema mode isn't always enforced and models may still confidently guess.

Original post →

More from coding & agent

coding & agent channel →