Two ways to get a decision out of a model

Two ways to get a decision out of a model A data-flow diagram generated by Archify. 01 / Input 02 / Model 03 / Output 04 / In between 05 / Code uses Prompt · text + format request · 01 / Input Prompt text + format request LLM · one token at a time · 02 / Model LLM one token at a time Text / JSON · free-form string · 03 / Output Text / JSON free-form string Parse + validate · retry on bad format · 04 / In between Parse + validate retry on bad format if/else branch · no trustworthy probability · 05 / Code uses if/else branch no trustworthy probability State + questions · answer space declared upfront · 01 / Input State + questions answer space declared upfront Decision model · e.g. JEV · 02 / Model Decision model e.g. JEV Typed decisions · with probabilities · 03 / Output Typed decisions with probabilities Threshold policy · reads confidence · 04 / In between Threshold policy reads confidence Action · route, gate, escalate · 05 / Code uses Action route, gate, escalate send prompt sequential read it back coerced value one request in parallel schema-true branch Legend decision model path typed output text-generation path