Decision design
Jev primitive · Choice
A Choice is a bounded decision, not a chat response.
Use one finite answer set when your application needs one best-matching category.
JevClassify is an independent tool and is not affiliated with, sponsored by, or endorsed by TypeSafe AI.
Quick answer
What is Jev Choice?
Choice maps an input and typed question to one selected value from a finite list. It fits routing, triage, and intent classification where a single label is required.
AI processing: Don't submit sensitive or confidential data. Privacy
20 free classifications/day · No account requiredStarter integration
import { experimental_evaluate } from "ai";
const result = await experimental_evaluate({
model: "typesafe-ai/jev",
providerOptions: { typesafeai: { question: "Which category fits?", choices: ["Billing", "Technical", "Sales", "Other"] } },
input: "I was charged twice and need a refund."
});Choice FAQ
When should I use Jev Choice?
Use Choice when the answer must be exactly one member of a finite set, such as billing, technical, sales, or other.
How many choices should I provide?
Keep the set small, mutually understandable, and include an explicit fallback when real inputs may not fit.
Need a production decision? Validate the provider contract, rate limits, and safety requirements before shipping.
Try the live classifier