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

Jev 1.13

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

  • typesafe/jev-1.13

Model Overview

Jev is a "System One" decision model from TypeSafe: instead of generating text it returns typed answers — yes/no, choice, score — 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.13 is the previous release, kept available under its own id so an integration can stay on it. It also reads experimental images. Context window is 262,144 tokens.

Pin this id when you need the behaviour to stay put. Jev 1.14 is the current version — it improves across the board, most of all in languages other than English, and adds the box question type, which this version does not have.

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.13. ▪ 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 three question types (noul, choice, score) 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.13",
  "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.13.0); meta.model is the id you called.

Last updated

Was this helpful?