SDKs & clients

n8n-nodes-typesafe-jev

@n3ndor1TypeScriptMITupdated 2026-09-19runnable

n8n community node for TypeSafe Jev structured AI decisions

n3ndor/n8n-nodes-typesafe-jev

Where it calls Jev

default: 'https://api.typesafe.ai',

credentials/TypeSafeApi.credentials.ts:31

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/verify-api.mjs:104

  1. intentchoice

    What is the primary request?

    • refundWants money returned.
    • helpWants something fixed.
  2. urgenttrue/false

    Does the customer convey time pressure?

  3. frustrationscore

    How frustrated is the customer?

    • 0Calm or neutral
    • 1Concerned but civil
    • 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: {
    intent: { type: 'choice', instructions: 'What is the primary request?',
      criteria: { refund: 'Wants money returned.', help: 'Wants something fixed.' } },
    urgent: { type: 'boolean', instructions: 'Does the customer convey time pressure?' },
    frustration: { type: 'score', instructions: 'How frustrated is the customer?',
      criteria: ['Calm or neutral', 'Concerned but civil', 'Very angry'] },
  },
});

Other projects in this category