Agent 工具

jev-sift

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

一个便携式 agent 插件和 MCP 工具,用于批量文本分类,先分类再选择性阅读。

英文原文

Classify first. Read selectively. A portable agent plugin and MCP tool for batch text classification.

kbhuw/jev-sift

它在哪儿调用了 Jev

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

src/config.js:6

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

它问 Jev 的问题

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

取自 test/classify.test.js:10

  1. relevant是/否

    Relevant?

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    relevant: { type: 'boolean', instructions: 'Relevant?' },
  },
});

取自 test/mcp.test.js:29

  1. healthcare是/否

    Serves healthcare?

  2. sector选项

    Pick industry

    • healthHealthcare
    • otherOther

用你自己的内容跑一遍

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

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    healthcare: { type: 'boolean', instructions: 'Serves healthcare?' },
    sector: { type: 'choice', instructions: 'Pick industry',
      criteria: { health: 'Healthcare', other: 'Other' } },
  },
});

同类的其他项目