SDKs & clients

dsh-jev

@noetion3TypeScriptMITupdated 2026-09-18runnable

DSH bundle that registers jev_ask for TypeSafe Jev noul, choice, and score answers.

noetion/dsh-jev

Where it calls Jev

export const DEFAULT_ENDPOINT = 'https://api.typesafe.ai/v1/systemone'

src/client.ts:9

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/live-smoke.ts:10

  1. departmentchoice

    Which team should handle this

    • billingPayment or subscription issues
    • technicalBugs or integration problems
    • salesPricing or account questions
  2. frustrationscore

    How frustrated the customer appears

    • 0Calm, just stating facts
    • 1Frustrated but civil
    • 2Very angry, strong language
  3. is_urgenttrue/false

    The message conveys urgency or time-sensitivity

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 team should handle this',
      criteria: { billing: 'Payment or subscription issues', technical: 'Bugs or integration problems', sales: 'Pricing or account questions' } },
    frustration: { type: 'score', instructions: 'How frustrated the customer appears',
      criteria: ['Calm, just stating facts', 'Frustrated but civil', 'Very angry, strong language'] },
    is_urgent: { type: 'boolean', instructions: 'The message conveys urgency or time-sensitivity' },
  },
});

from tests/apply.test.ts:41

  1. is_urgenttrue/false

    Does this convey urgency?

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: {
    is_urgent: { type: 'boolean', instructions: 'Does this convey urgency?' },
  },
});

Other projects in this category