Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Jev 1.14

Model id: typesafe/jev-1.14. Jev is a System One decision model from TypeSafe: instead of generating text it returns typed answers (yes/no, choice, score) with calibrated probabilities for routing, cl

This documentation is valid for the following list of our models:

  • typesafe/jev-1.14

Model Overview

Jev is a "System One" decision model from TypeSafe: instead of generating text it returns typed answers — yes/no, choice, score, box — with calibrated probabilities. It is built for routing, classification, triage and other in-app decision points where a fast, predictable verdict matters more than prose, and it answers in well under a second.

Version 1.14 improves across the board, most of all in languages other than English, and adds two experimental capabilities: reading images, and the new box question — where something is in an image. Context window is 262,144 tokens.

This is the pinned id. typesafe/jev currently resolves to this same version, but it moves with each release — pin typesafe/jev-1.14 when you need the behaviour to stay put, and see Jev 1.13 for the previous one.

How to make the first API call

1️⃣ Required setup (don’t skip this) ▪ Create an account: Sign up on the AI/ML API website (if you don’t have one yet). ▪ Generate an API key: In your account dashboard, create an API key and make sure it’s enabled in the UI.

2️ Copy the code example At the bottom of this page, pick the snippet for your preferred programming language (Python / Node.js) and copy it into your project.

3️ Update the snippet for your use case ▪ Insert your API key: replace <YOUR_AIMLAPI_KEY> with your real AI/ML API key. ▪ Select a model: set the model field to typesafe/jev-1.14. ▪ Provide input: put the content to evaluate in state and describe what to decide in questions.

4️ (Optional) Tune the request See the API schema below for the four question types (noul, choice, score, box) and their criteria.

5️ Run your code Run the updated code in your development environment.

API Schema

post
Body
or
Responses
200Success
application/json
modelstringRequired

Resolved model version that answered.

post/v1/decisions
POST /v1/decisions HTTP/1.1
Host: api.aimlapi.com
Content-Type: application/json
Accept: */*
Content-Length: 312

{
  "model": "typesafe/jev-1.14",
  "state": "Help! My payments have been failing for 3 days.",
  "questions": {
    "ANY_ADDITIONAL_PROPERTY": {
      "type": "noul",
      "instructions": "text",
      "criteria": {
        "true": "text",
        "false": "text"
      }
    }
  },
  "images": [],
  "assets": {
    "a3f1c2e8-door": {
      "type": "image",
      "format": "jpg",
      "data_base64": "/9j/4AAQSkZJRg..."
    }
  }
}
200Success
{
  "model": "text",
  "answers": {
    "ANY_ADDITIONAL_PROPERTY": {
      "type": "noul",
      "noul": 1
    }
  },
  "usage": {
    "input_tokens": 1,
    "output_tokens": 1
  }
}

Code Example

Response

Every key you send under questions comes back under answers with the matching type. The top-level model is the exact build that answered (jev-1.14.0); meta.model is the id you called.

Images and the box question

New in 1.14, and marked experimental by TypeSafe: the model reads images, and a box question returns where something is in one.

Images go in assets, not in images — each entry is a base64-encoded PNG or JPEG, with no data: prefix and no line breaks. Refer to an asset by its key from the question's instructions.

A box answer is four edges, each a fraction of the image from the top-left corner, plus a confidence. There is no "not found" answer, so pair it with a noul that asks whether the target is in the picture at all — exactly as below.

To turn the fractions into pixels, multiply left/right by the image width and top/bottom by its height.

box takes no criteria, and the images field is refused — this model takes images in assets, TypeSafe's own format. Both capabilities are experimental and not production-ready per TypeSafe.

Last updated

Was this helpful?