# Jev — free typed-decision endpoint (no key) Jev (TypeSafe AI) answers typed questions about a piece of text. It returns probabilities, never prose. Cheap and fast (~0.4 s). Thai and English both work. ## Quick (GET, one question) https://jev.wker.dev/?state=TEXT&ask=QUESTION -> yes/no probability https://jev.wker.dev/?state=TEXT&ask=QUESTION&choice=a,b,c -> pick one option Optional: yes=… no=… (what yes/no mean), c.OPTION=… (describe an option). URL-encode the values. Example: https://jev.wker.dev/?state=%E0%B9%81%E0%B8%AD%E0%B8%9B%E0%B8%84%E0%B9%89%E0%B8%B2%E0%B8%87&ask=complaint%3F ## Full (POST JSON, many questions at once) POST https://jev.wker.dev/ {"state": "text or JSON object", "questions": { "kind": {"type":"choice","instructions":"What kind of message?", "criteria":{"complaint":"unhappy, a problem","inquiry":"asks for info","praise":"thanks"}}, "urgent": {"type":"noul","instructions":"Must we reply within 1 hour?", "criteria":{"true":"customer is losing money now","false":"can wait"}}, "tone": {"type":"score","instructions":"How angry?", "criteria":{"1":"calm","3":"annoyed","5":"furious"}}}} ## Response {"model":"jev-1.13.0","answers":{ "kind":{"type":"choice","choice":"complaint","probabilities":{...},"confidence":0.9}, "urgent":{"type":"noul","noul":0.74}, "tone":{"type":"score","score":3.4,...}}} - noul = probability the answer is yes (0-1). - choice: branch on "confidence", not on the top probability. - The wording of criteria changes the numbers; keep it fixed when you compare. ## Limits Up to 10 questions per call, 12000 characters of state, fair-use rate limits. Do not send private or customer data: text passes through Cloudflare and TypeSafe. CORS is open, so browser apps and local HTML files can call it directly.