Skip to main content
An AI column is a value that a model computes from a record and the records beside it: a label, a yes or no, a score, a piece of text, a JSON object or an embedding. Your database can hold such a column, but it cannot keep it right afterwards. Brussle keeps each AI column current when the records it reads change, versioned by question and model, within a budget, and, where the column carries a number, corrected to what happened in your data. The API has its own words for the parts of a column, and the rest of the docs use them:
  • An AI column is a judgment: a question, a type and a context recipe that says what the engine reads, defined once for a namespace.
  • The column’s definition is the judgment’s definition, which has versions like a schema. Every cell records the judgment_version that made it.
  • A cell is an answer: the judgment’s current value for one document (your copy of one record).
  • The model that fills the column is the judgment’s engine. engine names it on the definition, and engine and engine_version name it on every answer.
Take a payment. Its record has an amount, a reference and a payer, and beside it sit the open invoices of the same customer. The AI column settles holds, for each payment, which invoice it settles. In the API that column is the judgment settles, each payment’s value is an answer, and the engine is the model that read the payment and its candidates.

The six types

A judgment’s type is one of six. The first three are the decision types. A decision column is a judgment of type bool, choice or score. Its answer carries a probability, so you can act on it by threshold, record outcomes beside it, and read a corrected number with its 95% interval once your outcomes support one. Judgments says how to define each decision type. A text, json or embedding column has no probability, so Brussle fits no correction for it and refuses outcomes posted on it. The judgment says so, since its calibration reads mode: not_applicable. Its answers carry value and no probability, threshold or corrected number, so nothing you build can threshold on a number that is not there. A text answer says whether it was cut at the column’s max_chars, and a json value that does not satisfy the declared schema is a failed answer with its reason, never a value written as if it were right. Queries lists the filters each type takes. No included engine answers text, json or embedding, so a column of one of them runs on your own model, and a relation reads only decision columns.

What every type shares

Whatever its type, a column gets the same lifecycle, and every answer records the same things:
  • Current, or says that it is not. Each answer is fresh, pending or stale with its reason, under the judgment’s freshness policy. Under on_change, a change to a record recomputes only the answers that read it, including answers on other records that read it through a relation. See freshness.
  • Cheap to keep. Brussle waits for a burst of changes to settle, and skips the engine call when nothing the answer reads has changed, so an input that did not change is never recomputed or billed again. See reuses.
  • Versioned. Each answer records its judgment_version and its engine_version, so a change to the question or the engine never mixes old and new values without a sign. See change a judgment.
  • Explained. Each answer points to its evaluation, the permanent record of exactly what the engine read and returned.
  • Within a budget. Each judgment can have a budget of engine calls a day or a billing period, and its namespace a budget in dollars. When a judgment uses its calls, a changed record’s answer reads stale with the reason budget_reached and keeps its last value, the engine is not called, and one event says so each period, so a column never stops silently.

The model is yours

The engine that fills a column is the model you choose. You store a provider’s key for your organization or a namespace, and name the model on the judgment as <provider>/<model id>, such as openai/gpt-5.2. Jev current, Jev 1.14.0 and gpt-6-luna are included for a namespace without a key, as the default that needs no setup, and each judgment’s path says which it runs on: included or customer_key. Each answer records its engine and, for an engine that is not pinned, the epoch of its behaviour in engine_version, so a change in the model is a diff between two epochs, not a mystery (see epochs). Your own model is never pinned, since Brussle cannot pin what a provider serves under a model id. See engines.

When your own database is enough

If a column is computed once and read as it is, and never needs to stay current, versioned or corrected, a column in your own database or a function in your warehouse is enough, and each value costs less there. Brussle is for the column that must stay right afterwards. See when your own database is enough.