Confidence Gate

A 22M parameter reranker answers first. Drag the threshold, and the questions it is not sure enough about go to Laya instead. Every number below is a recorded run, not a mock.

Customer message

Gate threshold

0.60

An answer passes when its confidence reaches the threshold. That is the model's own confidence when it reports one, which Laya does and the reranker does not; otherwise the top probability of a Choice or max(p, 1 - p) of a yes/no. Score is never gated.

Route

Answers

The same thing in code

What this demo is not hiding