LESSON 07 / 08 6 MIN
Know when to ask for help
Give uncertain decisions and failed requests a fallback.
Your application closes the loop. A result with low confidence should not automatically trigger the same action as a result you trust. Confidence is a signal, not a guarantee of correctness.
This exercise edits a local routing policy, not a Jev API request. Use a practice threshold of 0.8: a team choice below it goes to human review. Treat 0.8 as a teaching example, then calibrate a real threshold on your own data.
A failed request is not a decision. For HTTP 429, respect Retry-After when present and use backoff. For an unavailable service, this exercise uses a review queue as the fallback instead of guessing an answer.
Your challenge
- Set minConfidence to 0.8 and onUncertain to "review".
- Set onRateLimit to "retry_with_backoff".
- Set onUnavailable to "review".
routing-policy.json
Loading your draft…
Your next decision starts here.
Edit the JSON, then check your work.
Hints are available whenever you need them.