Decision API Design: Typed Answers, Calibrated Confidence, and Code That Can Actually Act
Every team that has wired a chat model into a production workflow eventually hits the same wall. You write a careful prompt, ask the model to “reply in JSON,” parse the response, validate it against a schema, retry when validation fails, and then discover that the model invented a label you never defined. The decision…