Jev in production › SQL and data pipelines

decision-query

SQLite and PostgreSQL extension adding noul, choice and score SQL functions that run a local Laya checkpoint by default or call TypeSafe's Jev endpoint over HTTP, so one query can filter, classify or rank rows.

Open on GitHub ↗

The source publishes no measured number.
Use
SQL and data pipelines
Industry
Data and analytics
Form
Open-source tool
Stage
Beta
Plugs into
SQLite, PostgreSQL
Listed
2026-09-23
Found via
discord
Repository
r33drichards/decision-query
Stars
2
Forks
1
Last push
2026-09-24
Language
C++
License
MIT

The README opens with

Typed decisions as SQL functions, for SQLite, PostgreSQL and MySQL. Ask a yes/no question, pick from named options, or place a row on a rubric, and get calibrated probabilities back -- so a table of text can be classified, scored or filtered without leaving the database.

A decision comes from whichever backend you load. A local checkpoint runs in-process through laya.cpp and sends nothing anywhere; an HTTP endpoint forwards to any service speaking the System One request shape. The SQL is identical either way.

Badge

For the project's own README, linking back here:

Listed in Jev in production

Also used for sql and data pipelines