CommunityJev Guides & Articles
Real Python: Jev in Python
Philipp Acsany's tutorial replaces a Y-or-N input check with Jev, then asks Noul, Score, and Choice in one call through OpenRouter.
- Format
- Article
- Published by
- Community
- Author
- Philipp Acsany
- Last verified
- Oct 2026
Used inJev for Software & DevTools
- Languages
- Python
- Platforms
- OpenRouter
Highlights
- Updated 24 September 2026. The page estimates 17 minutes and marks the lesson intermediate.
- Starts from a train-station script that only accepts an uppercase Y or N, then replaces that check with a Noul.
- The third step sends a dictionary as state and asks Noul, Score, and Choice in one request.
- Requires Python 3.10 or newer and uv. Pinning a build is shown as model="jev-1.13".
Watch out
The calls go through OpenRouter, not api.typesafe.ai. Real Python also hosts a video of this walkthrough.
Questions about this entry
Short answers drawn from the linked project or page.
Not from here. The fetch was refused, so the source file is empty and the article body was never retrieved. Everything below comes from the entry copy, which records the running example, the three question types and the pinning step but is not a substitute for the code.
The entry copy describes the tutorial starting from a train-station script that only accepts an uppercase Y or N and then swapping that check for a Noul question. It does not claim the old check was broken, so the swap reads as a demonstration of the shape rather than a fix.
OpenRouter. The entry copy is explicit that the calls route through OpenRouter rather than TypeSafe's own endpoint, and the Python requirement is 3.10 or newer with uv. That routing choice changes billing and where you would look for logs.
The tutorial shows pinning as model="jev-1.13", which pins the version you call but not the provider OpenRouter routes you to. The entry copy says nothing about provider pinning, so latency and cost can still drift underneath a fixed model string.
It treats a value above 0.8 as true and below 0.2 as false, and anything in between means Jev is unsure so it asks the visitor again, letting you trade accepting mumbled answers against repeat questions.
The state holds only the visitor's answer, so an instruction like 'Did the user lose something?' gives Jev nothing to judge and scores 'yes' around 0.31; 'Is the answer from the user affirmative?' scores it about 0.98. Fix the instruction before touching the cutoffs.
A Choice for the desk covering ticket counter, lost and found and immediate help, a four-level Score for urgency, and a Noul for whether a staff member is needed, all sent against a dictionary state keyed visitor_says.
More Jev resources like this
Yury Selivanov's 2 October 2026 post on the Python AI SDK: experimental evaluate() calls typesafe-ai/jev through an AI Gateway key.
Jev Guides & ArticlesArticle#community#article#tutorial
Community
Tom Farnschläder's 24 September 2026 tutorial builds a support-ticket router with the Python SDK, using Choice, Score, and Noul in one call.
Jev Guides & ArticlesArticle#community#article#tutorial
Community
A hands-on Python guide that installs typesafe-sdk, walks through Choice, Noul, and Score, and sketches a chargeback-tool integration and benchmark plan.
Jev Guides & ArticlesArticle#community#article#tutorial
Community
An evidence-backed community collection of Jev use cases, patterns, prompts, and starter code, with quick facts sourced to TypeSafe docs and runnable Python and TypeScript quickstart examples.
Jev Guides & Articles#community#awesome-list#tutorial
A 25-chapter Chinese tutorial that goes from reinforcement-learning basics to GRPO training with a runnable minimal-verl example, and closes with a chapter on when judgment tasks should be externalized to Jev instead of trained.
Jev Guides & Articles#community#python#tutorial
Community
cookiespiggy/agentic-rlPython
Kenny Rogers explains Jev as a decision model and shows Choice, Score, and Noul responses from calls he placed through OpenRouter on 21 September 2026.
Jev Guides & ArticlesArticle#community#article#explainer
Community
From the Jev guides
Original write-ups on what this entry is for.
The typed-answer shape removes a category of data risk, not all of it. Zero data retention per surface, the legal set to read, and the controls that remain yours to run.
Jev Guides & Articles#privacy#compliance#legal
Read article
TypeSafe serves Jev from one API. A second tier of independent sites wraps it with their own keys, credits, and playgrounds. How to read the disclaimers before you paste a key.
Jev Guides & Articles#ecosystem#trust#hosting
Read article
The first ten days produced three receptions that rarely meet: a Product Hunt launch, a 620-point Hacker News thread, and a r/LocalLLaMA that doubted the framing. Reading them together.
Jev Guides & Articles#launch#community#reception
Read article
From the Jev community
Posts from builders shipping with Jev right now.