Run with Browser AI · Chapter 08

Run Chapter 08: Language Routing Laboratory

Turn ranked language evidence into an explicit abstain-or-translate decision, then inspect and prepare the selected translation pair.

← Read Language Detection Is a Decision, Not an Answer
Execution Not inspected
Secure contextUnknown
Top-level pageUnknown
Prompt APIUnknown
AvailabilityNot inspected

Chapter experiment

Language Detection Is a Decision, Not an Answer

Metrics-only trace

Loading the chapter experiment…

No model output yet.
Inspect the context supplied by this chapter

What this experience knows

This experience is grounded in Chapter 08 and treats detection as evidence for a product decision.

Decision boundary

The highest-ranked candidate is not automatically a trustworthy source language. The policy checks both its reported confidence and its separation from the second candidate. Failure produces an explicit abstention state.

Capability boundary

Language Detector and Translator are separate browser capabilities. Translator availability is inspected with the source and target pair chosen by the policy. A detector result cannot establish that the pair is installed, downloadable or supported.

Evaluation boundary

The expected language belongs to the fixture evaluator; it never overrides the detector. Automatic translation checks catch narrow failures, while preservation of meaning remains a human review.

User and data boundary

A production product should let the user correct the source language and should disclose any route that moves text away from the device. Local inference describes one segment of the data flow, not the privacy of the complete product.

This laboratory composes two browser-managed capabilities without collapsing them into one magic “translate” button. Detect a ranked candidate list, inspect confidence and margin, apply an explicit selection policy, and only then inspect the exact Translator pair.

The reviewed replay contains Prompt API session evidence only. It remains available as historical evidence and is never presented as a Language Detector or Translator run.