SDKs & clients

is-odd-jev

@alxcrt4JavaScriptupdated 2026-09-17runnable

Check whether a number is odd, using a System One model, with a calibrated probability.

alxcrt/is-odd-jev

Where it calls Jev

(process.env.TYPESAFE_BASE_URL || 'https://api.typesafe.ai') + '/v1/systemone';

index.js:4

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 index.js:18

  1. oddtrue/false

    Is n odd?

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: {
    odd: { type: 'boolean', instructions: 'Is n odd?' },
  },
});

Other projects in this category