浏览器与电脑操作
Jev for Chrome 使用 TypeSafe Jev 进行快速决策,控制当前浏览标签页,是 browser-use/jev-ultrafast 的社区移植版本。
Jev for Chrome: drives the tab you are looking at with TypeSafe Jev, a sub-second decision model. Community port of browser-use/jev-ultrafast, not affiliated with TypeSafe.
endpoint: 'https://api.typesafe.ai/v1/systemone',链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
取自 scripts/test_live_e2e.ts:68
operation选项Choose the next action to find flights
CLICK — Click search flights buttonTYPE_TEXT — Type text in destinationDONE — Already finishedimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
operation: { type: 'choice', instructions: 'Choose the next action to find flights',
criteria: { CLICK: 'Click search flights button', TYPE_TEXT: 'Type text in destination', DONE: 'Already finished' } },
},
});operation选项Pick an operation
CLICK — Click more informationDONE — Doneimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
operation: { type: 'choice', instructions: 'Pick an operation',
criteria: { CLICK: 'Click more information', DONE: 'Done' } },
},
});operation选项Choose next operation
CLICK — Click more infoDONE — Doneimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
operation: { type: 'choice', instructions: 'Choose next operation',
criteria: { CLICK: 'Click more info', DONE: 'Done' } },
},
});