开源复现
基于共享视觉编码和 Qwen3-VL,实现图像原生的类型化决策。
Image-native typed decisions with shared visual encoding and Qwen3-VL
@app.post("/v1/systemone")链接指向我们抓取当天的那个 commit,行号是准的。
下面是从这个项目源码里原样取出来的 question 组合。
composition选项Is the composition balanced?
balanced — The visual weight is balancedleft-heavy — Weight sits mainly on the leftunclear — The image cannot be assessedlegibility是/否Is the title legible?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
composition: { type: 'choice', instructions: 'Is the composition balanced?',
criteria: { balanced: 'The visual weight is balanced', left-heavy: 'Weight sits mainly on the left', unclear: 'The image cannot be assessed' } },
legibility: { type: 'boolean', instructions: 'Is the title legible?' },
},
});