01 · State
What happened comes in.
The state is what you already have: the customer's message, the order record, a list of events. Text, object or list, with up to 50,000 characters.
"state": "I was charged twice this month…"
Reflex
Tickets, orders and events arrive classified, with the next step indicated. Because every answer comes with the probability of each alternative, your system handles the clear case on its own and sends the doubtful one to a person.
choiceWhich team should handle it?
214 msfrom request to decision
“I was charged twice on the October invoice and nobody answers me in the app.”
scoreWhat is the urgency?
238 msfrom request to decision
{"ticket": 88213, "branch": "Recife", "text": "No register has been issuing invoices since 8am"}
noulDoes the order require human approval?
180 msfrom request to decision
{"order": 4821, "amount": 38400.00, "requester_authority": 20000.00, "supplier": "new"}
Some questions call for a text. Others call for just a choice: which queue, with what urgency, yes or no. Reflex exists for the second kind. It is the stack's System 1: the immediate answer, which leaves long reasoning for when it is needed. Hundreds of milliseconds per decision, measured with one call at a time; with many simultaneous calls, time grows in a queue.
What it is
A neural network that reads the state and the question and distributes the probability across the alternatives you wrote. It does not create an extra alternative.
"object": "reflex.decision"
No word is written along the decision path: the alternatives are weighed, and nothing else. Reflex decides without a generative model.
"output_tokens": 0
Every answer brings the probability of each alternative and the confidence of the chosen one. With a threshold, it abstains instead of taking a chance.
"answer_confidence": 0.9988
If the state does not fit, what was left out is counted and returned in the answer. Nothing disappears in silence.
"truncated": false, "state_tokens_dropped": 0
01 · State
The state is what you already have: the customer's message, the order record, a list of events. Text, object or list, with up to 50,000 characters.
"state": "I was charged twice this month…"
02 · Questions
Every question is closed. You write the labels, the levels or the yes and no, with the criterion for each. Up to 8 questions fit in the same request.
queue · irritation · cancel
03 · Decision
For each question, the chosen alternative and the probability of the others. Here, three decisions in 1.1 second: hundreds of milliseconds each.
"choice": "finance" · 0.9988
04 · Confidence
The confidence of each answer comes along. You set the threshold. Below it, Reflex abstains, and the caller decides the rest: a person, or longer reasoning.
irritation · 0.3725 · below the threshold
05 · Record
Who called, how many questions, how long it took, whether anything was cut. Login and usage metering are the same as Imaginne's.
3 questions · 1.1 s · truncated: false
request
response threshold · min_confidence 0.60
The request does not pick a model or tune a parameter. It picks the question type, and each type returns the answer in its own shape.
choicechoice among labelsYou provide the labels and the criterion for each. Back come the chosen label and the probability of all the others.
scoreposition on a scaleYou provide the levels, in order. Back come the position on the scale, with decimals, and the probability of each level.
noulyes or noYou ask a yes-or-no question. Back comes a number between 0 and 1: the probability of yes.
Reflex DT
Reflex DT is Reflex trained on your company's data, policies and processes. It decides as your company would decide, 100% in line with its rules, and delivers the proof along with it: the premises and the rule that support each decision.
In mathematical logic, ⊨ is called the double turnstile and it is the sign of semantic consequence. Γ ⊨ φ means: in every situation where the premises Γ are true, the conclusion φ is too. There is no case where the premises hold and the conclusion fails.
It has a single-stroke sibling, ⊢, which says that φ is derived from Γ by rules of proof. ⊢ speaks of the path of deduction; ⊨ speaks of truth. That is why Reflex DT carries ⊨: what matters is that the decision is true in light of the facts.
This is how we validate every Reflex DT decision. The premises are the company's data: the facts of the case, the policies and the house rules. The decision is the conclusion. It only comes out as verified when it is proved against that data, company data ⊨ decision. If it is not a consequence of it, it is not verified.
conclusionOrder 4821 requires human approval.
decision verified
You describe the state and the question. NNumbers shows the call, the probabilities and the time, with your own examples.
Talk about a decision in your process