Engineering · AI · Product
Simplifying Cereby Mini: Edit the Page, or Answer in Chat
From many named intents to one decision: edit the page through a change the student reviews, or answer in the thread.
A student selects a paragraph of a lab report and types "make this punchier". (The message is synthetic, like the others here.) Is that grammar? A rewrite? A replacement? Cereby Mini's router had to pick one.
Cereby Mini is the assistant inside a Cereby document, which we introduced in Introducing Cereby Mini: An AI Assistant Inside Your Documents. Students ask it for grammar fixes, rewrites, tone tweaks, explanations, and requests that read nothing like our feature names. Its first router tried to name every kind of ask (write, grammar, replace, extract, and more), which made demos and tests easy. Live language kept slipping between the labels.
The right energy, the wrong surface
For "make this punchier", "friendlier" or "merge these sections", the classifier had to force a pick. Sometimes it picked right. Sometimes it picked an adjacent intent with high confidence and sent the request to the wrong tool entirely:
That is the hardest failure to explain: not a blank response, but one that clearly understood something, just not what the student wanted for this page. The students were not vague. The routing was tuned for tidy labels instead of outcomes on the page.
One question at the top
We cut the first routing step to two outcomes, edit the document or answer in text, and moved everything specific below that fork:
Students have already answered "should this change the page?" before they type, so the router should surface that decision, not override it with our taxonomy. Tools, templates, grammar passes and safety checks belong below the fork, where there is more context (the selection, the full document, attachments) and no wrong umbrella label to fight. There is no third bucket: an ambiguous request is routed conservatively, and the review settles it.
The request starts the same way it always did, typed over a selection:
A request typed over a selection in Cereby Mini today, on a synthetic note.
What changed and what did not
| Area | Fine-grained intents | Two-intent fork |
|---|---|---|
| Unlabeled asks | Forced into the wrong bucket, or a weak fallback | Edit if it should show on the page, else chat |
| Near-neighbor bugs | Grammar, rewrite and replace collide | One axis: the page or the thread |
| New behaviors | Pressure to add a label | The second pass and the tools absorb them |
| Mental model | "Which internal label?" | "Does this change the doc?" |
The maintenance work moved from growing the catalog to the logic after the fork, where the interesting work lives.
What this taught us
Outcomes beat enums at the top. Students think in what should change, not in our intent spreadsheet, and a router that matches them fails less often, and more gracefully.
Preview is part of routing policy. With a broader first step, accept or reject keeps a student's trust without perfect classification: the student resolves the ambiguity, so the classifier does not have to.