Understand Jev / Lesson 1 of 24

See what Jev does

Start with one text, one question, one typed probability, and the code that uses it.

After this moduleYou can explain the basic Jev loop and distinguish a typed judgment from generated text and application policy.

Give code one useful judgment

Start with one text:

"The setup was easy, but the app freezes whenever I upload a photo."

Ask one plain question: Does this review describe a product problem?

In an illustrative result, Jev might return one typed number: 0.96. For this question, that number is the probability of yes. Your code can add the review to a product-feedback inbox when the value is above a threshold chosen for that application.

Jev: TypeSafe AI's model for answering bounded questions about supplied text with typed answers and probabilities. It reads the text you provide, evaluates the question you define, and returns data that normal code can use. It does not need to write a paragraph for the application to get value from language understanding.

One decision, end to end

See where Jev stops and your code starts

Move through the four parts of a tiny product-review routing example.

Synthetic teaching data
01 / 04

State is the evidence Jev can see

The application supplies one short product review. Jev cannot retrieve omitted sentences, product history, or other records on its own.

Supplied state
{
  "review": "The setup was easy, but the app freezes whenever I upload a photo."
}
Jev's jobJudge the bounded questionYour code's jobApply policy and perform allowed actions

The important shape is small: text in, a precise question, a typed answer, then code. Jev supplies a judgment about meaning. Code still owns the behavior.

Trace this example from input to result
01

Customer choice

A reader submits a short product review.

02

Request or event

The application asks whether the review describes a product problem.

03

Backend behavior

Jev returns a yes probability; code compares it with the application's current review threshold.

04

Customer sees

Likely problem reports appear in a feedback inbox.

05

Diagnostic reasoning

Check the submitted text, the exact question, the returned number, and the code branch that consumed it.

See how Jev differs from text generation

A text generator receives a prompt and creates new words. That is useful when you need a draft, summary, or explanation. Jev does a different job: you define the possible shape of the answer before the request. It returns a Boolean-like judgment, a selection from known choices, or a position on an ordered scale.

If you needInputOutputBest fit
A friendly reply to the reviewerReview plus writing instructionsNew proseText generation
Whether the review reports a problemReview plus one propositionA yes probabilityJev
The exact number of reviews todayStored review recordsAn integerCode

Code does not have to scrape "probably yes" from a paragraph. It receives an answer with a known type. Typed output makes integration clearer, but it does not guarantee that the judgment is correct. You still test the question on examples from your application.

Keep the first application loop simple

Here is the whole idea in TypeScript-like code. The Jev call is represented as a function because transport and SDK setup come later in the course.

const review = "The setup was easy, but the app freezes whenever I upload a photo.";

const problemProbability = await judgeWithJev({
  state: review,
  question: "Does this review describe a product problem?",
  answerType: "noul",
});

const destination =
  problemProbability >= feedbackPolicy.reviewThreshold
    ? "product-feedback"
    : "general-reviews";

The threshold is application policy. Jev does not choose it, and 0.96 does not command the application to move anything. A reading app might use a low threshold to collect a broad research sample. An automatic public label might need a stricter rule. The same judgment can support different behavior because code owns the consequence.

Customer seesApplication doesJev returns
A review filed in a useful placeCompares a result with a configured ruleA typed probability about the supplied text
A drafted responseCalls a generator with the relevant factsNo prose
An exact daily countCounts stored rowsNo database total
Applied diagnosis

The result is typed but the route is wrong

problem probability: 0.96 · saved destination: general-reviews

The semantic result supports the product-problem route, so inspect the code branch and configuration before rewriting the question. A reversed comparison or stale threshold can produce a wrong outcome even when Jev's answer is useful.

Build your first decision sketch

Choose a small piece of text your application already receives: a review, message, document title, survey comment, or search query. Write one yes-or-no question whose answer would help code choose a reversible next step. Avoid broad prompts such as "What should we do?" The question should make sense to someone seeing the supplied text.

Then write the code branch in words. For example: "If the probability is high enough for our tested policy, add the item to a review list; otherwise leave it in the normal feed." You do not need a production threshold yet. Later lessons explain the input state, question types, distributions, and how to evaluate thresholds.

Dig deeperWhy the typed boundary matters

Natural language is flexible, while application interfaces need stable shapes. Jev places the flexible interpretation behind a small typed boundary. That lets the surrounding program compose a language judgment with filters, database lookups, UI state, and ordinary tests. The model handles meaning; the program handles control flow.

Saved locally

Sketch one Jev-backed decision

Your answers stay in this browser. Write enough that another engineer could continue the investigation.

Knowledge check

Check your understanding

Explain Jev as text plus a bounded question producing typed data that application code can use.
Module quiz

0/3 answered

01What does Jev contribute to the first review example?
02Who decides what the application does with Jev's result?
03What does typed output guarantee?
Sources and verification notes 6
Introductionpublic-contract

TypeSafe identifies Jev as its flagship System One model; vendor positioning is not an independent performance result.

System One and RLCDpublic-contract

TypeSafe terminology for constrained decisions and Reinforcement Learning for Calibrated Decisions; private training and serving details are not disclosed.

Primitives overviewpublic-contract

Independent named questions and typed answers. Its approximate 32k wording differs from the model page's more specific 64k aggregate and 32k longest-question limits.

Building with System Onepublic-contract

State, independent judgments and code-owned composition, thresholds and actions.

Probability and confidencepublic-contract

Distribution concentration is distinct from empirical correctness. The exact native confidence formula is not published.

Official TypeSafe skillcurrent

Inspected and installed starter instructions; boundaries between supplied state, judgment and application policy.

Further learning

Optional references

These resources provide public documentation and examples for readers who want them.

Official documentationIntroduction to TypeSafe and JevOfficial documentationHow to build with System One
Find where Jev fits