评测与研究

gpt-vs-jev

@TanayPadar1TypeScriptMIT更新于 2026-09-17可当场跑

比较 GPT 生成的语言与 JEV 结构化 Noul 决策在相同输入下的表现。

英文原文

Compare GPT generated language with JEV structured Noul decisions on the same input.

TanayPadar/gpt-vs-jev

它在哪儿调用了 Jev

import { noul, TypeSafeClient } from "@typesafe-ai/sdk";

lib/jev.ts:3

链接指向我们抓取当天的那个 commit,行号是准的。

它问 Jev 的问题

下面是从这个项目源码里原样取出来的 question 组合。

取自 test_jev.py:9

  1. is_urgent是/否

    Does this convey urgency?

  2. needs_human是/否

    Should a human support agent review this?

  3. is_financial是/否

    Is this about a financial transaction?

用你自己的内容跑一遍

代码
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?' },
    needs_human: { type: 'boolean', instructions: 'Should a human support agent review this?' },
    is_financial: { type: 'boolean', instructions: 'Is this about a financial transaction?' },
  },
});

同类的其他项目