What it is
A pre-alpha PostgreSQL C extension that exposes TypeSafe AI (System One / Jev) categorical judgments from SQL. It is for PostgreSQL users who want Choice, Noul, and Score decisions on text without leaving the database.
How it uses Jev
Jev answers typed questions: Noul returns a yes/no probability, Choice picks one category, Score rates an ordered rubric. The extension sends text plus a question to the TypeSafe API and returns the result as a SQL scalar or set-returning row.
Primitives:choicescorenoul
Technique worth stealing
Batch distinct values with typesafe_detect_many so many texts share few HTTP requests instead of one call per row.
Try it
make && make install, CREATE EXTENSION typesafe, set TYPESAFE_API_KEY, then run examples/311.sql.
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-centricyes0.94
- Shows a System One patternno0.19
- Handles uncertaintyno0.05
- Measuredno0.05
- Runnableyes0.98
- Worth recommendingno0.16
- Model replicano0.03
- Problem scopescore on a 0–2 scale0.98
- About Jevyes0.98
Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.