评测与研究

Janus

@FirasSX9142PythonMIT更新于 2026-09-18可当场跑

测量何时在数据上使用Jev和其他模型,然后进行相应路由。

英文原文

Measure when to use Jev and other models on your data, then route accordingly.

FirasSX914/Janus

它在哪儿调用了 Jev

from typesafe_sdk import TypeSafeClient  # import tardif : dependance optionnelle

src/janus/providers/typesafe.py:28

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

它问 Jev 的问题

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

取自 experiments/probe.py:26

  1. department选项

    Quelle équipe doit traiter ce message ?

    • shippingSuivi de commande, retard, colis perdu
    • billingFacturation, paiement, remboursement

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    department: { type: 'choice', instructions: 'Quelle équipe doit traiter ce message ?',
      criteria: { shipping: 'Suivi de commande, retard, colis perdu', billing: 'Facturation, paiement, remboursement' } },
  },
});

同类的其他项目