Skip to main content
Use decisions to get structured judgments - probabilities, choices, and rubric scores - from judgment models like TypeSafe’s jev family. A decision request carries a state (what to evaluate) and a map of named questions; every question produces one typed answer.

Provider Model Examples

  • TypeSafe: typesafe/jev-1.13.0, typesafe/jev-latest, typesafe/jev-preview

Basic Request

Question Kinds

state and instructions accept a plain string or structured data (object or array), preserved losslessly.

Response

Every declared question produces an answer of its declared kind. confidence, probabilities, and legend are included when the provider supplies them.

Fallbacks

Standard fallback syntax applies:

Validation

Requests are validated before dispatch and rejected with a 400 rather than silently approximated: unsupported kinds, missing instructions, missing choice criteria, score criteria outside 2-10 levels or with non-string entries, and states or instructions that are neither string, object, nor array.
TypeSafe’s native API is also available 1:1 at POST /typesafe/v1/systemone - see the TypeSafe provider page for the mapping between the two.