SDK 与客户端
jevkit 的 JavaScript/TypeScript 版本,提供静态代码检查和共享记录格式,用于基于 TypeSafe 的 Jev(System One)模型开发,非官方版本。
jevkit for JavaScript/TypeScript: static linter and shared record format for building on TypeSafe's Jev (System One) model. Unofficial.
* TypeSafe's docs warn that `jev-latest` moves when a new version ships, andpackages/drift/src/compare.ts:4
链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
取自 packages/lint/test/cli-bin.test.ts:33
q是/否How many items are there
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
q: { type: 'boolean', instructions: 'How many items are there' },
},
});