Skip to content

Decision presets

A decision preset asks a model the same question about every piece of text you send, and returns a structured answer with how sure the model is. You save it once, and any app can use it by name.

For example:

  • Sort support requests into Bug report, Feature request or Question.
  • Score how urgent a message is, from 1 to 5.
  • Check whether a claim matches its source: yes or no.

Decision models answer with a choice and a probability, not with prose. That makes the answers easy for software to act on.

Set up a decision model in Models → Decisions:

  1. Click Set up on the recommended model. Nexus installs or starts the runtime it needs.
  2. Wait for the download. It continues if you leave the page.
  3. Click Make default.

A decision model can run on MLX, llama.cpp or Ollama. No model fits this machine? Connect TypeSafe AI or OpenRouter in Providers to use a hosted one. See Decision models.

  1. Open Presets and click New preset.

  2. Pick Decision preset.

  3. Start from a template, such as Support triage, Review checker, Article relevance or Answer checker, or Start from scratch.

  4. Give it a Preset name and pick the Decision model.

    The Support triage template: Preset name, the local Decision model clef-flash, and its first question, Team, a choose-one question with choices such as Billing and Technical

  5. Under Questions, set up each question (see below). Add question adds another.

  6. Under Evaluate, choose Latest user message or Whole conversation.

  7. Under Reply style, choose Readable (sentences an app can show) or JSON (answers, confidence and probabilities, for software).

  8. Under Try it, paste Text to evaluate and click Run example. Check the answers, probabilities and timing. Keep this example saves it for next time.

  9. Click Save preset.

Try it on Support triage with the text: I was charged twice for my March invoice. Please refund one of the payments. The local decision model answers in 669 ms: refund requested 97.3% yes, team Billing with confidence 0.98, urgency 0.71

Changes stay a draft until you save. A test is counted in Usage like any request, but doesn’t change the preset.

Each question has What should it decide?, a Result name and an Answer type:

Answer type Use it for You set
Choose one Picking a category The Choices, each with an optional description
Score Placing on a scale The Scoring levels, in order
Yes / no A check What Yes means and what No means

Sometimes the list of choices changes from request to request. For example, each customer has their own categories. Make that part a Customizable input:

  1. Under Customizable inputs, click Add input.
  2. Name it and pick its Input type, such as Text or Structured data.
  3. Give it a Default value, or turn on Require a value with each request.
  4. In the question, set Where the yardstick comes from to Provided with each request.

Apps send the values in preset_inputs. Nexus treats them only as data, so an app can’t change the questions themselves.

Call it like any preset, through Chat Completions:

{
"model": "@preset/message-category",
"messages": [{ "role": "user", "content": "Can you add dark mode?" }],
"preset_inputs": {
"categories": ["Bug report", "Feature request", "Question"]
}
}

The reply is a readable answer, or JSON with each answer, its confidence and the probabilities, depending on Reply style.

Under Fallback models, click Add fallback to add up to three other decision models. Nexus tries them in order when the main one is down, loading, rate-limited, failing or over its limits. A fast local model first, then an online one, is a good order.

Every try follows the same rules: the same key access, Data Protection and usage tracking. A request that’s invalid or refused by policy isn’t retried, because another model would refuse it too.

Turn on Flag uncertain answers to mark answers the model isn’t sure about as Needs review:

  • Flag choices and scores below this confidence sets the bar for choices and scores.
  • Require this probability for a clear yes or no sets how sure a yes/no must be.

Use it to send unsure cases to a person.

  • With a local decision model, the text stays on this machine.
  • An online decision model receives the text it needs to judge.
  • Data Protection can clean the text before the model sees it.
  • Whole conversation reads text messages. System messages can’t replace the preset’s questions.
  • Attachments and tool messages may be refused when a decision can’t handle them safely.