Agent 工具
一个便携式 agent 插件和 MCP 工具,用于批量文本分类,先分类再选择性阅读。
Classify first. Read selectively. A portable agent plugin and MCP tool for batch text classification.
export const JEV_ENDPOINT = 'https://api.typesafe.ai/v1/systemone';链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
relevant是/否Relevant?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
relevant: { type: 'boolean', instructions: 'Relevant?' },
},
});healthcare是/否Serves healthcare?
sector选项Pick industry
health — Healthcareother — Otherimport { 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' } },
},
});