Skip to content

Jev glossary

PatternsIntent classification

Intent routing

Classify intent with a Choice and complexity with a Score, then send each branch to deterministic code, a specialist model, or a person.
Category
Patterns
Also known as
Intent classification
Reading time
1 min
Related terms
5
Directory entries
192
Docs
docs.typesafe.ai
Added
2026-09-24

Definition

The example asks one Choice over order status, product questions, returns, and complaints, plus a Score for complexity. Intent confidence below 0.5 routes to a human agent, order_status goes to deterministic code with no LLM involved, and complaints escalate when complexity exceeds level 1 or its confidence falls below 0.5.

The routing rule is on the pair of answer and confidence, not either alone, so confidently-misrouted requests do not slip past review.

Tagspatternsroutingclassification

From the Jev directory

Directory entries that go deeper on this term.

Classify intent with a Choice and complexity with a Score, then send each branch to deterministic code, a specialist model, or a person, with a 0.5 intent-confidence floor.
Jev Practices & PatternsDocs#official#patterns#routing
Official
Architectural patterns for System One systems: speculative fan-out, confidence-gated routing, composite scoring, and intent routing.
Jev Practices & PatternsDocs#official#patterns#architecture
Official
Community n8n node for Jev by TypeSafe that classifies, routes, and scores text with questions you define. It returns one of your options with a probability per option and a confidence value, so uncertain items can be sent to human review.
Jev Integrations & Adapters#typescript#javascript#routing
Community
0GitHub stars
Swift package with two products: TypeSafeKit, a dependency-free HTTP client for the System One endpoint and model listing, and TypeSafeMiddleware, which adds a DecisionProvider protocol plus route, gate, rate, composite, and evaluate helpers for agent loops.
Jev Repos & SDKs#sdk#agents#routing
Node CLI and TypeScript library that streams JSONL or CSV rows through Jev, adding one typed column per question plus a _confidence field, with escalation, rejection, dedupe, and concurrency controls.
Jev Tools & CLIs#cli#typescript#classification
Community
npm package providing the TypeSafe Jev fast path for the MLola Browser Runtime: one request per decision cycle carrying the operation head plus speculative target heads, with responses validated before anything executes. Also ships planner and text adapters for OpenAI-compatible endpoints.
Jev Integrations & Adapters#typescript#browser#agents
Community

186 more matching entries in the full directory.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai