应用产品
一个 Chrome 扩展,将 TypeSafe 的 Jev 集成到 X.com,实时分析浏览的帖子内容。
A Chrome extension that brings TypeSafe's Jev to X.com to analyze posts as you browse
'The key stays in this browser and goes nowhere but api.typesafe.ai. Until it works, Barrunto reads nothing.',src/entrypoints/popup/texts.ts:24
链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
a是/否Is it a?
b是/否Is it b?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
a: { type: 'boolean', instructions: 'Is it a?' },
b: { type: 'boolean', instructions: 'Is it b?' },
},
});