Skip to main content
All models

Use Jev in a hosted Python Task to classify text, score it, or answer yes-or-no questions about it, with a confidence on every answer.

TypeSafe AI's System One decision model. It reads the prompt's text and answers typed questions about it. A pick-one question returns the chosen option with a confidence, a score question returns a value on your scale with a confidence, and a yes-or-no question returns the probability from 0 to 1 that the statement is true. Use it in prompts and tasks to classify or route input.

What Jev supports in qbash

  • Typed answersAnswers pick-one, score and yes-or-no questions, each with a confidence.

What is qbash?

qbash is where you build Tasks: Python programs that run a business process on managed infrastructure. Your code runs the steps and calls a model like Jev only at the ones that need judgment, with integrations, memory and files available in the same script.

A developer writes the Task once, and anyone on the team runs it from a form, on a schedule, from a webhook or from chat. Each Task is versioned and every run is logged.

Specifications

Context window
64Ktokens

Use Jev in a Python Task

Pass a question set as output_schema and Jev returns an answer for each question, with a confidence you can branch on in Python.

main.py
ticket = qbash.inputs.get("ticket")

decision = qbash.ai.raw(
ticket,
model="jev-latest",
output_schema={
"department": {
"type": "choice",
"instructions": "Which team should handle this ticket?",
"criteria": {
"billing": "Payments, invoices, or subscriptions",
"technical": "Bugs, outages, or integration problems",
},
},
"urgent": {
"type": "noul",
"instructions": "Does this ticket require an immediate response?",
},
},
)

route = decision["department"]
if route["confidence"] < 0.75:
qbash.output({"status": "needs_review", "decision": decision})
else:
qbash.output({"status": "routed", "department": route["choice"]})
Jev decision prompts

Jev pricing

Input$0.042 per 1M tokens
Output$0.00 per 1M tokens

Standard rates in USD.

Automate Jev with qbash

Guides that use Jev