Instructor RFC proposes typed decision models with Pydantic and OpenRouter
jxnlco · x · 2026-09-27
Instructor maintainer jxnl-oai opened an RFC to add decision model support to Instructor, starting with Jev via TypeSafe and OpenRouter. The idea: define questions in a Pydantic model, evaluate them against shared context, and get typed answers with probabilities. A content moderation example shows a Category class built on Choices, with Choice entries describing policy categories like HARASSMENT plus examples, returning structured scores/levels/probabilities. The API is illustrative for now.
More from coding & agent
- omarsar0 on custom agent benchmarks: public numbers don't mean much, Jev Router rivals GPT-6 Astra low — omarsar0 · 2026-09-27
- Opus 5.5 + Meta Ads MCP builds a full ad campaign in 47 minutes, claims 70% cost cut — PrajwalTomar_ · 2026-09-27
- Agent chat UI design debate: the timeline is strictly chronological, cards reflect current state — zeeg · 2026-09-27
- Microsoft's ProgramDistill turns interactive web apps into verifiable SWE training tasks — _akhaliq · 2026-09-27
- Benchmarking 'Decision Models': Scoring Options Is 7-54x Faster Than Generating Probabilities — vykthur · 2026-09-27
- Deploying AI Agents? Start With One Workflow, Warns Architect — DavidLinthicum · 2026-09-27