WHAT NEW IN X10.30 FRI

AI collections from X · 22 collections · 60,637 posts

jevIMAGE

A step-by-step Jev tutorial: from OpenRouter key to Decisions API

A five-step guide covering OpenRouter key setup and the Decisions API, using Noul, Choice and Score question types for ticket routing, content moderation and similar decisions.

SuSu_酥酥👅
@NFT_ChenArchived 2026.09.19Originally posted 2026.09.18
A step-by-step Jev tutorial: from OpenRouter key to Decisions API (image 1 of 3)
A step-by-step Jev tutorial: from OpenRouter key to Decisions API (image 2 of 3)
A step-by-step Jev tutorial: from OpenRouter key to Decisions API (image 3 of 3)
SuSu_酥酥👅 @NFT_ChenOriginally posted 2026.09.18
Open original on X

🔥码住:Jev 模型从入门到上手保姆级教程! Jev不是聊天模型。不写字、不解析 JSON、不校验 schema。 
把应用状态 + 类型化问题丢进去,直接拿回带概率的决策。 70–500ms,输入 $0.042/M,输出免费,官方工作流对比 LLM,最高 190x 更快、440x 更便宜。 三种问题类型: 🔹Noul:是/否,返回 0–1 概率(会不会流失?) 🔹Choice:从你定义的选项里选一个(该进哪个队列?) 🔹Score:按你给的量表打分(紧急程度 1–5) 一次请求可问多个问题。返回的是「billing 84% / technical 16%」,不是一句「billing」。 5 步上手教程: 1️⃣去 OpenRouter 建 Key
export OPENROUTER_API_KEY=sk-or-v1-... 2️⃣打 Decisions API,不是 chat completions
POST https://openrouter.ai/api/alpha/decisions 3️⃣model 填 ~typesafe/jev-latest 4️⃣传 state(字符串 / 对象 / 数组)+ questions
每题写清 type、instructions、criteria 5️⃣读 answers,用代码决定下一步
noul > 0.8 && choice == "billing" → 直接升级工单 适合:工单路由、内容审核、欺诈标记、Agent 下一步、要不要转人工。 
代码掌控流程,模型只负责决策。 做了有意思的项目就 tag @jjacky,前 10 名创意项目送 $20 credits。 
参考文档:https://openrouter.ai/~typesafe/jev-latest #Jev #OpenRouter #TypeSafe #SystemOne #AIAgents #API #新手教程 #保姆级教程

This post quotes another post: x.com/nft_chen/status/2100840157008253261

x.com/nft_chen/status/2100845698837274662Archived 2026.09.19 10:16