decision trees you can curl

Learn

How small decision models classify text, what it costs to do that in SQL, and why it helps to extract fields before you decide. Written generally, then shown the way che.sh and rvbbit actually do it.

Figures cited in the notes come from the public dashboard at che.sh/models, as of November 29, 2026, 10:44 PM, America/New_York. 2928 scored canon runs (live).

Decision models vs. chat models for classificationWhen a small decision model is the better tool than a chat LLM for classifying text, with live numbers from che.sh/models. Classify a million rows in Postgres, cheaplyWhat it costs to classify a text column in SQL, using measured che.sh decision-model prices, warehouse AI functions, and caches that keep a full refresh from rebilling every row. Extract, then decide, then routeWhy pulling structured fields out first, then asking a small decision model, then applying your rules in SQL is easier to debug than one large prompt.

Each note starts with the question people actually ask, names the warehouse tools fairly, and then shows the Postgres and che.sh side: first-class SQL functions, a cache and receipts, and a live flow you can run. More notes may follow.