Advanced Typed Decisions lets a bot ask typed questions about a piece of text and get back a precise answer it can branch on, with a calibrated probability: a yes/no decision, the best of a set of categories, or a position on an ordered scale. By default it runs open decision models inside the Bot Agent through ONNX Runtime - Laya General, Specialist and Multilingual, or Strands Decider - so the text never leaves the machine. Each action can instead use TypeSafe Jev, Cloudflare Workers AI, ScaleDown, OpenAI Decisions, any OpenAI-compatible chat model or a self-hosted server; the outputs are the same whichever engine answers.
Four decision actions cover the common cases: Ask Yes/No returns a probability and a Boolean at your threshold; Choose Category returns the chosen category with a probability for every category; Rate on Scale returns the expected and the most likely level; Ask Questions answers many typed questions about the same text in one model pass.
Cloud engines can also look at images: Ask Questions supports Jev's box question, Cloudflare's Clef-omni listens to audio and watches video, and ScaleDown reads PDFs and scanned images together with the text.
Every answer carries a confidence score, and a needs_review flag turns true when confidence falls below the percentage you set. Every action also returns the input token count, the elapsed time and the full response in Jev's JSON shape.
Three model actions manage installation and memory: Download Model fetches a model once per machine from its publisher on Hugging Face and checks its SHA-256, Load Model loads it at the start of a bot so the first question is fast, and Release Model frees the memory when the bot is done.
General and Specialist read English and Multilingual covers 100+ languages; each question reads the first 512 tokens of the text (1,024 for Multilingual). Keep categories under about 20 per question.