> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brussle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AI columns and their types

> An AI column is a value a model computes from a record. Brussle keeps it current, versioned, cost-capped and, for a decision column, calibrated on your outcomes. The API calls the column a judgment, its cell an answer and the model its engine.

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](https://docs.brussle.com/concepts/judgments.md): a question, a `type` and a [context recipe](https://docs.brussle.com/guides/context-recipes.md) that says what the engine reads, defined once for a [namespace](https://docs.brussle.com/concepts/namespaces.md).
* 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](https://docs.brussle.com/concepts/answers.md): the judgment's current value for one [document](https://docs.brussle.com/concepts/documents.md) (your copy of one record).
* The model that fills the column is the judgment's [engine](https://docs.brussle.com/engines/index.md). `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.

| `type` | The answer holds | Calibrated |
| - | - | - |
| `bool` | `p`, the probability of yes | Yes |
| `choice` | `value`, the most probable option, with `dist` and `escape_p` | Yes |
| `score` | `score`, a position on the scale, with `dist` | Yes |
| `text` | `value`, a string of at most the `max_chars` you set, with `truncated` | No |
| `json` | `value`, a JSON value (an object that satisfies your schema, when you declare one) | No |
| `embedding` | `value`, an array of the `dimensions` numbers you declared | No |

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](https://docs.brussle.com/concepts/judgments.md#thresholds), record [outcomes](https://docs.brussle.com/calibration/outcomes.md) beside it, and read a [corrected number](https://docs.brussle.com/calibration/correction.md) with its 95% interval once your outcomes support one. [Judgments](https://docs.brussle.com/concepts/judgments.md#pick-a-type) 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](https://docs.brussle.com/concepts/queries.md#fields-you-can-filter-on) 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](#the-model-is-yours), 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](https://docs.brussle.com/guides/freshness-policies.md). 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](https://docs.brussle.com/concepts/relations.md). See [freshness](https://docs.brussle.com/concepts/freshness.md).
* **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](https://docs.brussle.com/concepts/evaluations.md#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](https://docs.brussle.com/guides/change-a-judgment.md).
* **Explained.** Each answer points to its [evaluation](https://docs.brussle.com/concepts/evaluations.md), the permanent record of exactly what the engine read and returned.
* **Within a budget.** Each judgment can have a [budget](https://docs.brussle.com/guides/freshness-policies.md#budget-per-judgment) of engine calls a day or a billing period, and its namespace a [budget](https://docs.brussle.com/concepts/namespaces.md#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](https://docs.brussle.com/guides/change-a-judgment.md#epochs)). Your own model is never pinned, since Brussle cannot pin what a provider serves under a model id. See [engines](https://docs.brussle.com/engines/index.md).

## 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](https://docs.brussle.com/versus-ai-column.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.