Skip to content

Jev directory

JevSQL — EugeneBoondock

A zero-dependency Node library and CLI that adds Jev natural-language predicates and decision tables to SQLite, with batching, caching, review queues, and saved decisions queryable as ordinary SQL tables.
Stars
5
Language
JavaScript
License
MIT
Reading time
3 min
Published by
Community
Author
EugeneBoondock
Last verified
Sep 2026

About this project

For exact totals over large or encrypted datasets, use the streaming money API. It reads bounded batches and sums decimal values by currency without sending money arithmetic to a model. For PostgreSQL or other already-authorized result sets, use the native row API: typed decisions, explicit projections, tenant-scoped caching, budgets, cancellation, and review queues without SQLite. Turn database rows into decisions you can query, inspect, refresh, and test.

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

Highlights

  • Adds jev_bool, jev_choice, jev_match, and jev_pick predicates to SQLite with explicit unknown labels and abstention bands.
  • A saved decision table is a normal SQLite table other applications can query without the library or an API key.
  • Planner defaults cap requests at 25 states, 120 questions, and 60,000 serialized UTF-8 bytes.
  • maxJudgments defaults to 1,000 new judgments per query; maxEstimatedCostUsd stops before dispatching another round.
  • Its contrast suite runs 31 comparisons on both sides, and tests use local mock servers with no API key.

Quickstart

bash
node bin/jevsql.mjs materialize routes --file examples/recipes/ticket-routing.sql --csv examples/tickets.csv --db decisions.db --model jev-1.13.0

Watch out

MIT-licensed and not affiliated with TypeSafe AI; live judgments need a TypeSafe API key, and the project's audit says it does not yet have evaluation evidence, so arithmetic, access control, and writes should stay in code.

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

X: LinkedIn bookmarks search

X: 1,066 reaction videos, searchable

X: Intent-based search in a Chrome extension

Other listings of this project

Forks and copies of this project in the directory. This entry is the canonical one.

4GitHub stars
A weekend experiment in text-to-SQL where the model never writes SQL: Jev fills typed slots — intent, table, state, county, number — each with a calibrated confidence, and Python code assembles the answers into a parameterized SELECT.
Jev Repos & SDKs#community#catalog-import#logicrw

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