jev_choice
Classify any text or state against a set of predefined options, then return the best match with confidence distribution to support routing decisions.
Instructions
Ultra-fast single-choice classification using Jev's Choice primitive. Evaluates context against predefined options and returns the winning selection with confidence distribution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | The context, text, or state to classify. | |
| options | Yes | Key-value dictionary of candidates where key is the option ID and value is the criteria description. Example: {"db": "Database failure", "network": "Connection timeout", "auth": "401 Unauthorized"} | |
| instruction | Yes | The routing or classification question. |