Agent tooling
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';The link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
relevanttrue/falseRelevant?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
relevant: { type: 'boolean', instructions: 'Relevant?' },
},
});from test/mcp.test.js:29
healthcaretrue/falseServes healthcare?
sectorchoicePick 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' } },
},
});