Skip to content

Jev glossary

PatternsConfidence routing

Confidence-gated routing

Use the answer to decide what to do and confidence to decide whether to act, with per-action thresholds set by the cost of being wrong.
Category
Patterns
Also known as
Confidence routing
Reading time
1 min
Related terms
5
Directory entries
37
Docs
docs.typesafe.ai
Added
2026-09-24

Definition

The voice-banking example routes any intent below 0.6 confidence to a support agent before the action is considered. Above that, check_balance is safe at 0.6 because the worst case is a wrong read-out, while approve_transfer needs more than 0.85 or the user confirms first.

Confidence is not permission: a high-confidence answer can still be wrong, so irreversible actions keep hard limits in code next to the model.

Tagspatternsconfidencerouting

From the Jev directory

Directory entries that go deeper on this term.

Use the answer to decide what to do and confidence to decide whether to act: the voice-banking example routes below 0.6 to a human and needs 0.85 or more to auto-approve a transfer.
Jev Practices & PatternsDocs#official#patterns#confidence
Official
How TypeSafe reports certainty, how it differs from probability, and how to use it architecturally to gate and route decisions.
Jev Practices & PatternsDocs#official#confidence#routing
Official
The Python response models: SystemOneResponse groups answers by id, and records the model name, token usage, and request id.
Jev Repos & SDKsDocs#official#docs#sdk
Official
A 3D robot that understands without generating text: one TypeSafe call per turn with nine typed questions, then code decides whether to act, ask, or shrug.
Jev CookbooksPlayground#community#playground#embodied-agent
Community
10GitHub stars
CLI that fits a per-question confidence threshold to a target accuracy on your own labeled data, verifies it on a held-out split, estimates how much traffic still needs an LLM, and re-checks locked thresholds in CI. It publishes no Jev results of its own.
Jev Practices & Patterns#community#python#calibration
A Ruby client for TypeSafe's System One API that returns typed Noul, Choice, and Score answers, validates obvious input mistakes before spending a request, and pools HTTP connections across threads.
Jev Repos & SDKs#community#ruby#sdk

31 more matching entries in the full directory.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai