Skip to content

Jev directory

Pg Jev

A PostgreSQL extension that filters, ranks, and classifies table rows with plain-language conditions judged by Jev, batching 20 rows per request and caching answers per session.
Stars
1.2k
Language
Shell
Reading time
3 min
Published by
Community
Author
realZachi
Last verified
Sep 2026

realZachi/pg-jev

User repository on GitHub

View on GitHub

Ask your Postgres tables questions in plain language. A PostgreSQL extension powered by TypeSafe's Jev.

Forks
97
Last pushed
Updated Oct 2026

Repo stats from the GitHub API, cached Oct 2026.Homepage

About this project

Write the condition the way you would say it. Postgres does the rest. jev lets you filter, rank and classify rows with plain-language conditions. Every row is judged by TypeSafe's Jev, a System One model that returns calibrated probabilities instead of generated text. No index, no embeddings, no vector column. jev() is an ordinary boolean function, so it composes with everything else in SQL: AND age > 40, joins, GROUP BY, LIMIT, ORDER BY jevprob(...).

Quoted from the project's README. Read the full README.

Highlights

  • jev(), jev_prob(), jev_choice(), and jev_score() work inside WHERE, ORDER BY, and GROUP BY.
  • Batches 20 rows per request; a 2,000-row first run measured about 3.5 seconds and $0.012.
  • Read-ahead streams the table in physical order so LIMIT stops early work.
  • Per-row answers are cached for the session, making re-runs and threshold tweaks free.

Watch out

Managed hosts that withhold superuser or plpython3u, including Supabase, Neon, and RDS, cannot run it; needs PostgreSQL 14 to 17.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: jev(): Postgres WHERE clauses in plain language

Hacker News: A MySQL plugin that filters rows by asking Jev whether a column matches a sentence.

maayanlevy-hn2 pointsA MySQL plugin that filters rows by meaning (built on TypeSafe Jev)Read the thread on Hacker News

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai