SDKs & clients

n8n-nodes-typesafe-jev

@n3ndor★ 1TypeScriptMITupdated 2026-09-19▶ runnable

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?

    • refund — Wants money returned.
    • help — Wants something fixed.
  2. urgenttrue/false

    Does the customer convey time pressure?

  3. frustrationscore

    How frustrated is the customer?

    • 0 — Calm or neutral
    • 1 — Concerned but civil
    • 2 — Very 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