浏览器与电脑操作
使用 Ego Lite 完成浏览器任务,调用 Jev 进行语义目标选择、过滤、排序、分类和文本证据判断。
Complete browser tasks with Ego Lite and actively call Jev for semantic target selection, filtering, ranking, classification and text evidence judgments.
const ENDPOINT = 'https://api.typesafe.ai/v1';链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
refund是/否Is a refund requested?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
refund: { type: 'boolean', instructions: 'Is a refund requested?' },
},
});