bool, choice or score (yes or no, one of several options, or a score), and its answer carries a probability. Brussle does three things with each one:
- Run again when a record changes. Brussle runs an answer again when a record it read changes, and runs no other. It lets a burst of changes settle first, skips the engine call when an input has not changed, and caps the cost with a budget.
- Fitted again when the model changes. Brussle starts a new labelled epoch when the engine’s behaviour changes, then replays the inputs that your outcomes measured and fits the correction again for the new epoch.
- Calibrated on your outcomes. You record what happened, and once you have 50 outcomes (15 of each answer), Brussle fits a correction to a decision column’s number. Brussle applies the correction only when it beats the engine’s own numbers on outcomes that the fit did not see. In one customer’s own tests, the correction cut log loss on held-out outcomes by 55% on contracts and by 69% on vehicle complaints, while which records ranked above which barely moved.
What you can do with it
- Act on how sure the number is. Each corrected number carries its 95% interval in
interval.lowerandinterval.upper, and the interval narrows as your outcomes arrive. On a decision column with features the answer’s own number is the corrected one, so you filter, rank and subscribe on its lower bound (“act when we are at least 80% sure”). See how sure a corrected number is. - Quote, pin and compare a fit. Each fit has an id, and each answer names the fit and the run it was read with. You can list every fit, compare two on the same outcomes, and pin one you have audited so that no later fit replaces it. See read your fits.
- Keep your numbers steady. Brussle fits again every day, but a new fit replaces the current one only when it is clearly better on the outcomes that arrived since and moves the number by at least a point. A fit that is better but not yet proven waits beside the current one, and you can promote it. See when a new fit replaces the current one.
- Start from 50 outcomes. The first correction leans on the engine’s own numbers and moves toward your outcomes as they grow. Brussle applies a correction fitted on fewer than 100 outcomes only when it clearly beats the engine on outcomes it did not see. See below 100 outcomes.
- Put your own numbers in a decision column. You can add up to 12 features (the record’s own values, ages in days, counts from related records and the column’s previous answer), and the fit weighs them beside the engine’s answer. On a choice among candidates the fit can change which candidate is picked, but Brussle never applies it when it picks worse than the engine on your held-out outcomes. See add your own numbers to the fit.
- Give each of your customers its own correction. On a platform on Team and Scale, each customer in its own namespace gets a fit of its own from 50 of its own outcomes. Brussle holds that fit toward the shared fit until the customer’s outcomes clearly say otherwise. See templates.
- Let your outcomes choose the engine. You name alternatives (another engine, another wording of the question, another context recipe), and Brussle scores each on the same outcomes and says which your outcomes prefer. Scoring an engine or a named alternative is on Team and above and is billed as judging. Nothing switches until you confirm. See let your outcomes choose.
How it works
Your database → the records you write to Brussle → AI columns that Brussle keeps current and calibrates → your application.- Write the records that a column needs. Each record becomes a document in a namespace, while your database stays the system of record. See keep data in sync.
- Define the column. A judgment has a question, a type and a context recipe that says what the engine reads (fields of the document, and other records when the question needs them).
- Record what happened. Post outcomes or let rules derive them from your writes, and Brussle joins each outcome to the exact answer that it measures.
- Brussle fits and tests the correction. Brussle fits on your outcomes, tests on outcomes the fit did not see, and applies the fit only when it wins (see the correction). The calibration report shows the numbers before and after.
- Brussle keeps every answer current. Brussle runs each affected answer again under the judgment’s freshness policy when a document or a record it read changes.
- Your application reads the answers. Your application queries and filters on them, asks for current answers only, and gets a webhook when a document enters or leaves a result. See queries and subscriptions.
What every answer carries
- Exact inputs. Each answer is the engine’s answer to exactly the inputs that its evaluation records (the text it read, and each related document and revision).
- Whether it is current. Each answer is
fresh,pendingorstale, with the reason, and a query can return current answers only. See freshness. - Its versions. Each answer records the question version and the engine version that made it, so old and new versions never mix without a sign. See change a judgment.
- The engine’s number and the corrected one. The engine’s own number never changes meaning, and once a fit applies, the corrected number sits beside it with its interval, its fit and its run.
Questions that read other records
Some judgments need a record beside the one they judge. A relation makes the judgment read that record, and Brussle runs the answer again when the record changes:- Match one record to another: which open invoice does this payment settle? See entity matching.
- Compare with the last version: did this contract section change in a way that matters? See change detection.
- Read what points at this record, or what it points at: an amendment and its contract, an order line and its product. See related documents and referenced document.
- Roll up other judgments: does this contract have a clause that needs a review? See roll-ups.
- Check against a rulebook: preview how many answers a policy change would flip. See policy simulation.
When you do not need Brussle
- The column is computed once and read as it is, and never needs to stay current, versioned or corrected. A column in your own database is usually enough (a trigger fires, a worker calls the engine, and the worker writes the answer back), and each answer costs less than in Brussle.
- A user’s request waits for the answer. A new answer arrives seconds after the write, so call the engine directly, or read an answer that Brussle already keeps.
Start here
- In the quickstart you define a decision column, write records, post outcomes, and read the corrected number with its interval and the fit that made it.
- If you call the Decisions API or Jev directly today, read coming from the Decisions API or Jev.
- If you serve many customers of your own, give each one a namespace (see multi-tenant platforms).