Put Jev between exact rules and generation
Jev fits where an application needs to understand meaning but already knows the kind of answer it wants. Consider a reading app. Code can check whether a document is newer than 30 days. A text generator can write a summary. Jev can judge whether the document is relevant to the reader's stated goal.
bounded judgment: a meaning-based decision whose allowed answer shape is defined before evaluation. "Is this document relevant?" is bounded. "Explain everything useful in this document" asks for generated content. "Is the timestamp within 30 days?" is an exact comparison for code.
Trace this example from input to result
Customer choice
A reader asks to find beginner-friendly database articles.
Request or event
The application retrieves candidate articles and asks a bounded relevance question for each one.
Backend behavior
Code filters dates and permissions; Jev judges relevance; a generator may later summarize selected articles.
Customer sees
The reader gets a focused list and can request summaries separately.
Diagnostic reasoning
Check retrieval, exact filters, the relevance question, and ranking code as separate steps.
Recognize ordinary Jev opportunities
The pattern appears in many products without requiring a large AI workflow:
- A feedback tool asks whether a comment contains a concrete feature request
- A music app chooses one mood label from a small product-defined set
- A document search tool scores how directly a passage answers a query
- A moderation inbox asks whether a message contains a specific kind of abuse
- A form assistant checks whether a response answers the question that was asked
In each case, the application supplies the text and defines the decision. Jev returns typed data. Code chooses how to display, rank, route, or request clarification.
Use deterministic code for facts that can be calculated or looked up exactly: dates, counts, permissions, IDs, schema validation, prices, and known mappings. Use a text generator when the product needs new prose or a multi-step explanation. Use human review when the answer is contested, the available evidence is inadequate, or the consequence requires it.
| Customer sees | Application does | Jev returns |
|---|---|---|
| Search results ordered by relevance | Retrieves candidates and sorts scores | A bounded relevance judgment per candidate |
| A three-sentence summary | Sends selected source text to a generator | No generated summary |
| Only documents the user may access | Enforces permissions with trusted records | No authorization decision |
The boundaries can work together. A search feature may use code to retrieve accessible documents, Jev to judge relevance, and a generator to summarize the top result. One user action can contain three distinct kinds of work.
Design from the product behavior backward
Start with what the user should see or what the application should change. Then ask which uncertain meaning decision prevents code from producing that result. This avoids adding Jev just because the input contains text.
The next TypeScript-like sketch uses a conceptual judgeRelevanceWithJev helper. It shows the application boundary rather than an SDK request shape.
type Candidate = {
id: string;
title: string;
publishedAt: string;
body: string;
};
async function buildReadingList(candidate: Candidate, goal: string) {
if (!isRecent(candidate.publishedAt)) return null;
const relevance = await judgeRelevanceWithJev({
goal,
document: { title: candidate.title, body: candidate.body },
});
return { id: candidate.id, relevance };
}
isRecent remains code because the date rule is exact. Jev handles the semantic relationship between a goal and a document. The result remains data; it does not publish, delete, or rewrite the document.
A team proposes Jev for an exact count
input: stored order rows · question: how many are overdue?Keep this in code. The database already contains the dates and statuses needed for an exact answer. Jev adds uncertainty without adding useful understanding. If the real need is to judge whether a customer's explanation describes a delivery delay, that separate semantic question could fit Jev.
Choose a narrow first use
A good first Jev feature has a bounded answer, text that already contains the needed evidence, and a reversible result such as sorting, tagging, highlighting, or suggesting. It also has examples a team can label so the question can be tested.
Avoid starting with a feature that asks one model call to retrieve missing information, interpret it, write a response, and take an action. Separate those stages. A narrow seam is easier to understand and improve.
Dig deeperJev as a programming primitive+
TypeSafe describes Jev as a System One model: a focused model for constrained decisions rather than open-ended generation. The practical idea is more useful than the label. A small judgment can be composed like any other value in a program. Code can filter before it, combine it with trusted facts, or use it as one input to ranking.
The typed interface reduces parsing ambiguity, but semantic quality still depends on the supplied evidence and question. Later lessons make both explicit.
Place Jev in one product flow
Your answers stay in this browser. Write enough that another engineer could continue the investigation.