Checked fact 464312 Nov 2026Models and releases
The guide's example code reads: if answer.confidence >= 0.7: route_to(answer.choice), else route_to("human_review"). It adds: "Set thresholds using labeled examples from your own traffic. Weigh the cost of a false positive against a false negative."
The exact words it rests on
if answer.confidence >= 0.7: route_to(answer.choice) else: route_to("human_review") ... Set thresholds using labeled examples from your own traffic. Weigh the cost of a false positive against a false negative.
What the source said when we opened it, on 12 Nov 2026.
The source
Decisions API guide, Gemini API docs
Checked
Checked by the notis newsroom on , against the source above.
In the story
How a confidence score lets code act on Gemini Decisions API answers 12 Nov 2026
Cite this fact
Anyone may quote this address. It does not change; if we correct the story, this page says so.