Use cases

What is a noul in Jev?

A noul is Jev's yes/no primitive. Instead of a bare true or false, it returns a single calibrated number from 0 to 1: the probability that the answer is yes.

Of Jev's three typed primitives, the noul is the one you reach for whenever a question is binary. Ask it a yes/no question against your state and it returns one number between 0 and 1 — the calibrated probability that the answer is yes. So 0.9 means Jev is highly confident the answer is yes, while a value near 0 leans strongly to no.

How it works

You send a question keyed in your call, and the result comes back keyed to match. Because the output is calibrated, the probability means what it says: across many cases, questions rated around 0.8 should turn out to be yes about 80% of the time. That is what separates a noul from a model that simply guesses true or false.

Optional criteria

A noul can take optional true and false descriptions that spell out what a yes and a no actually mean:

These criteria sharpen the answer without changing its shape — you still get one probability back.

When to use it

A noul is ideal for gates, filters and guardrails — anywhere a pipeline needs a clean go or no-go signal. Use a noul to screen inbound content, to decide whether a request is safe to auto-approve, or to flag items for review. Because a noul is just a number, wiring it into an if-statement is trivial:

Reading a noul responsibly

Remember that the answer reports how likely yes is, not a guarantee of correctness. Pick your cut-off — say 0.7 — by calibrating a noul against your own labelled data, then let a high value pass and a low one stop or escalate. Tuned this way, a noul turns fuzzy yes/no judgements into a dependable, calibrated gate.

See also: What is Jev · How to use the API · Playground

Related: Jev architecture · Jev classifier · Jev vs an LLM

Build a gate with a noul

Try a yes/no question in the playground and see the calibrated probability before you set a threshold.

▶ Try Jev freeGet an API key →
noul — Jev's calibrated yes/no primitive explained · Jev by TypeSafe AI