TypeSafe: Jev

Decisions
typesafe/jev-latest

Jev. Evaluate conditions, select options, and score levels. Any of the three API formats below can call Jev. Jev accepts text, JSON objects, and arrays of text values. Images are not supported. Decisions calls are synchronous.

Context Window
64K
Released
2026-09-23
Capabilities
Decisions
Available Providers
TypeSafe
Supported Protocols
openai

Providers

TypeSafeprovider.type: "typesafe"
Input Tokens
$0.042/M
Output Tokens
$0/M
Protocols
openai/openai/v1/decisions/typesafe/v1/systemone/v1/decisions

Documentation

Decisions guide for Jev: from the first request to handling low-confidence results in production.

Code Examples

import json
import os
import urllib.request
body = json.loads('''{
"model": "typesafe/jev-latest",
"input": "I was charged twice. Please refund me today.",
"questions": [
{
"type": "predicate",
"name": "urgent",
"instructions": "Is this urgent?"
},
{
"type": "choice",
"name": "department",
"instructions": "Which team should handle this?",
"choices": [
{
"value": "billing",
"description": "Payments and refunds"
},
{
"value": "technical",
"description": "Bugs and outages"
},
{
"value": "other",
"description": "None of the above"
}
]
},
{
"type": "score",
"name": "severity",
"instructions": "How severe is this issue?",
"levels": [
{
"label": "Minor"
},
{
"label": "Workaround available"
},
{
"label": "Fully blocked"
}
]
}
]
}''')
request = urllib.request.Request("https://api.ofox.ai/v1/decisions", data=json.dumps(body).encode(), headers={
"Authorization": "Bearer " + os.environ["OFOXAI_API_KEY"],
"Content-Type": "application/json",
})
with urllib.request.urlopen(request) as response:
print(json.load(response)["answers"])

Frequently Asked Questions

TypeSafe: Jev on Ofox.ai costs $0.042 per million input tokens and $0 per million output tokens. Pay-as-you-go, no monthly fees.