Jev decision templates
Templates below are unofficial starters. They are not TypeSafe defaults. Add other/not_stated. Pin the model once you tune.
Independent. Primitives: docs.typesafe.ai/primitives.
Choice — intent
instructions: “Which single intent fits this ticket?”
criteria: refund / status / cancel / other — one sentence each.
Code: abort if confidence < your floor or choice == other.
Score — severity rubric
Levels 1–5 as descriptions, not “1 means 1.” Do not interpolate a dollar or minute value from probabilities.
Noul — screen
instructions: a yes/no you would ask a colleague. Threshold in code. No confidence field — use bands and review in the middle.
TEMPLATE_INTENT = {
"type": "choice",
"instructions": "Which intent fits this message?",
"criteria": {
"refund": "Wants money returned for a purchase.",
"status": "Asks where an order is.",
"other": "None of the above.",
},
}
Naming
Question ids are for you. Official: they are not the model-facing wording. Put the entire question in instructions. Ids like q1 make traces unreadable — use intent, policy_ok, severity.
What this page does not claim
- Not official prompt packs.
FAQ
How many options? Docs: Choice max 255. Prefer cascades over a 200-way blob.
JSON criteria? Advanced structure is documented — keep it readable.
Disclaimer
This is an independent unofficial site and is not affiliated with TypeSafe AI; official documentation is available at https://docs.typesafe.ai. Never treat jev.pro as TypeSafe official documentation. We do not sell, issue, or proxy API keys.
Open-cluster pages are independent field-guide notes. Replicas and third-party interfaces mentioned anywhere on jev.pro are not Jev and not endorsed. Hub: Open. Siblings: policy templates, workflow examples, choice score noul. Canonical: https://docs.typesafe.ai.
Sources
Public TypeSafe or adjacent documentation only. No private claims.