Open reproductions

OpenDecision

@deepanwadhwa29PythonApache-2.0updated 2026-09-19runnable

OpenDecision is an open-source semantic decision engine like typesafe's jev.

deepanwadhwa/OpenDecision

Where it calls Jev

"/v1/systemone",

src/opendecision/api/app.py:82

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 examples/m3_typesafe_sdk_demo.py:9

  1. departmentchoice

    Which department should handle this?

    • billingPayments and refunds
    • technicalSoftware problems
    • salesPurchasing questions
  2. urgenttrue/false

    This request is time-sensitive.

  3. frustrationscore

    How frustrated is the customer?

    • 0Calm
    • 1Frustrated
    • 2Extremely 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: {
    department: { type: 'choice', instructions: 'Which department should handle this?',
      criteria: { billing: 'Payments and refunds', technical: 'Software problems', sales: 'Purchasing questions' } },
    urgent: { type: 'boolean', instructions: 'This request is time-sensitive.' },
    frustration: { type: 'score', instructions: 'How frustrated is the customer?',
      criteria: ['Calm', 'Frustrated', 'Extremely angry'] },
  },
});

Other projects in this category