Ask yes/no, pick-one, or scale questions. Run Laya locally or Jev via API.
Small decisions.
Clear outcomes.
A model answers bounded questions about your input. Your rules decide what happens next.
npm install -g @banh/cli@alphaMIT-licensed alpha · Node.js 20+
urgent-routing.yaml
version: 1
process: urgent_routing
input:
type: text
decisions:
urgent:
decide: whether
question: Does this need immediate attention?
flow:
- when: urgent.probability >= 0.85
do: return
value:
route: escalation
- else:
do: return
value:
route: supportINPUT
“Our checkout is down.”
IF P(URGENT) ≥ 0.85
route: escalation
Ordered rules on values and probabilities. First match wins.
From the CLI, your TypeScript app, or Banh Cloud.