Open reproductions

jevinf

@zerodegress1PythonMITupdated 2026-09-20runnable

Jev-like model inference engine + Jev-compatible API

zerodegress/jevinf

Where it calls Jev

print("  Jev-compatible: POST /v1/systemone  GET /v1/models"

src/jevinf/cli.py:156

The link points at the commit we read, so the line number still holds.

What it asks Jev

These question sets are lifted from this project's source exactly as written.

from scripts/jev_conformance.py:53

  1. billingtrue/false

    Is this message about billing?

  2. urgenttrue/false

    Does this need a reply within the hour?

  3. teamchoice

    Which team should handle it?

    • paymentsPayouts, refunds, charges
    • platformLatency, outages, errors
  4. tonescore

    How frustrated is the customer?

    • 0calm
    • 1frustrated
    • 2very angry

Run it on your own text

The code
import { 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'] },
  },
});

Other projects in this category