Back to explore

Optimizing a Translation Plugin with Jev: On-Demand DOM Detection and Batching

The author shares how they use Jev to identify which HTML DOM elements need translation, process only visible areas, batch requests, and load on scroll for a smooth, token-efficient experience with an evot model.

让 AI 按我的想法,迭代了一个给自己用的翻译插件。要简洁易用,技术方案尽量用新的,token 也要省。 比如用 Jev 判断哪些 HTML DOM 需要翻译,只处理当前看得到的区域,再把待翻译内容合并成一个 request,批量发送。滚动时按需加载,翻译跟得上,页面也不卡顿。再接上 evot 的 model

Optimizing a Translation Plugin with Jev: On-Demand DOM Detection and Batching video poster
· 0 likesOpen on X