Open reproductions
Jev-like model inference engine + Jev-compatible API
print(" Jev-compatible: POST /v1/systemone GET /v1/models"The link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
from scripts/jev_conformance.py:53
billingtrue/falseIs this message about billing?
urgenttrue/falseDoes this need a reply within the hour?
teamchoiceWhich team should handle it?
payments — Payouts, refunds, chargesplatform — Latency, outages, errorstonescoreHow frustrated is the customer?
0 — calm1 — frustrated2 — very angryimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
billing: { type: 'boolean', instructions: 'Is this message about billing?' },
urgent: { type: 'boolean', instructions: 'Does this need a reply within the hour?' },
team: { type: 'choice', instructions: 'Which team should handle it?',
criteria: { payments: 'Payouts, refunds, charges', platform: 'Latency, outages, errors' } },
tone: { type: 'score', instructions: 'How frustrated is the customer?',
criteria: ['calm', 'frustrated', 'very angry'] },
},
});