Skip to content

Jev glossary

PrimitivesLegend

Score legend

The Score answer field that maps each level number back to its description, so results stay readable after the fact.
Category
Primitives
Also known as
Legend
Reading time
1 min
Related terms
4
Directory entries
2
Docs
docs.typesafe.ai
Added
2026-09-24

Definition

A Score answer includes score, legend, probabilities, and confidence. The legend repeats your levels by number ({"0": "Calm", "1": "Frustrated", "2": "Very angry"}), while probabilities keys are the same level indexes as strings.

Logging the legend next to the score is what makes later review possible: the number alone loses its meaning once the criteria change.

Tagsprimitivesapi

From the Jev directory

Directory entries that go deeper on this term.

Rate content against 2 to 10 ordered levels. Returns a probability-weighted score that can land between levels, per-level probabilities, and confidence, with the arithmetic left to code.
Jev Practices & PatternsDocs#official#primitives#score
Official
The raw HTTP contract behind every SDK: POST a state plus typed noul, choice, and score questions to /v1/systemone, and get one answer per question, with error codes and retry guidance.
Jev Guides & ArticlesDocs#official#docs#api
Official

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai