Reply to ilyag
ilyag · · in Using Jev as a classifier A Jev classifier picks exactly one of your labels and...
Using Jev as a classifier
A Jev classifier picks exactly one of your labels and returns it with calibrated probabilities and a confidence value, so there is nothing to parse and no way to get an invalid class back.
Jev is TypeSafe AI's first System One model, and the choice primitive turns it into a fast, typed Jev classifier. You define up to 255 options, send the state you want labeled, and the Jev classifier returns one key, a probability for every option, and a single confidence score. The output is locked to your type, so the answer is always one of the labels you defined.
How the choice primitive classifies
A call to Jev is a model plus state plus a map of questions, and each question can be a classification. That means one Jev classifier request can label many fields in a single round trip. Because the output is typed, a Jev classifier never returns free text you have to clean up, never invents a class, and never trails off mid-answer. This is what TypeSafe AI means by zero hallucination: the result is constrained to your enumeration, while confidence measures how concentrated the distribution is, not a guarantee of correctness.
Jev classifier - typed classification without an LLM · Jev by TypeSafe AI
https://jevtypesafeai.com/jev/classifier