Jev glossary
Choice
- Category
- Primitives
- Also known as
- Choice question
- Reading time
- 1 min
- Related terms
- 6
- Directory entries
- 8
- Docs
- docs.typesafe.ai
- Added
- 2026-09-24
Definition
A Choice question takes a map of options to rubric descriptions and returns the highest-probability option, the full probability distribution, and a 0-1 confidence. A Choice can hold up to 255 options, so large candidate sets need pre-filtering or multiple passes.
Option names and descriptions are both sent to the model; use null when a name speaks for itself. Choice fits answers that are one of a known set with no order between them (routing a ticket, classifying a document, detecting a language), and an explicit other or none-of-the-above option is recommended when the list might not cover every input.
Related terms
Definitions that connect to this one.
From the Jev directory
Directory entries that go deeper on this term.
2 more matching entries in the full directory.
From the Jev AI model community
Posts from builders shipping with Jev right now.