What it is
A PHP client for the TypeSafe AI evaluation API. Provide a state and typed questions, get one typed answer per question. For PHP 8.2+ developers integrating Jev into their applications.
How it uses Jev
Jev evaluates a state (string or structured data) against Noul (yes/no), Choice (pick one option), and Score (rate along ordered levels) questions. The client sends the request and returns probabilities, chosen option, or score with confidence, used directly in code.
Primitives:choicescorenoul
Technique worth stealing
Use structured descriptions (arrays/objects) for options to clarify boundaries when plain sentences are ambiguous.
Try it
composer require sanmai/typesafe-ai-php; set TYPESAFE_API_KEY; run examples/urgency.php
Evidence
Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.
- Jev-centricno0.31
- Shows a System One patternunclear0.42
- Handles uncertaintyno0.03
- Measuredno0.04
- Runnableyes0.96
- Worth recommendingno0.15
- Model replicano0.07
- Problem scopescore on a 0–2 scale1.14
- About Jevyes0.84
Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.