Skip to content

Docs

Routing by Probability

TypeSafe documentation page on routing Jev actions by probability threshold. Covers per-action thresholds, a voice banking example, and why probability is easier to read as risk than confidence for Choice questions.
Format
Docs
Reading time
2 min
Published by
Community
Added
Nov 23, 2026

Highlights

  • Sets a separate probability threshold for each action your code can take, with riskier actions getting higher thresholds.
  • An answer below the threshold gets its own outcome, such as asking the user to clarify, instead of counting as a yes.
  • Voice banking example uses 0.7 for check_balance and above 0.9 before opening the transfer workflow.
  • With jev-1.14.0, a hesitant transfer command scored 0.99 for approve_transfer, so confirmation still matters.
  • For a Choice question with fixed options, confidence is calculated from the top probability, so a threshold on it adds nothing.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

YouTube: LangChain maps System 1 and System 2 onto fast decisions versus slow generation.

Facebook: Intake Router keeps diagnosis out of the answer space at the front desk.

FacebookClinicnotes

X: OpenRouter Decision Model Rankings

X: herdr + jev, an agent router

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai