跳到主要內容
AI 武林
文章入門中文

Chrome's Built-in Translation and Prompt API

來源 Huli

讀原文(在新分頁開啟原站)連到 Huli

摘要

介紹了 Chrome 內建的翻譯 API 和 Prompt API。作者發現一個開源擴充包實際使用的是 Chrome 內建的 Web API,而非 HTTP API,並展示了如何透過 Translator API 進行翻譯,以及 Prompt API 的初步使用方式。

This article introduces Chrome's built-in Translation API and Prompt API, allowing direct handling of translation and dialogue via Web APIs without external API keys. It demonstrates the use of the Translator API for translation and the initial setup for the Prompt API, highlighting that while local…

重點

  • Chrome 提供內建翻譯 API 與 Prompt API,可透過 Web API 直接處理翻譯與對話,無需額外 API ключ。
  • 翻譯 API 需下載小模型,支援即時翻譯;Prompt API 尚在測試中,需申請測試鍵並下載模型。
  • 目前僅 Chrome 與 Edge 支援,Firefox 與 Safari 尚未完全整合或面臨隱私與設計問題。

提到的工具與公司

  • LanguageModel.create
  • Gemma
  • Phi
  • Chromium
  • Edge

適合誰看

開發者、希望利用瀏覽器內建 AI 功能進行翻譯或本地化專案的技術人員。

摘要依據

依據
文章全文

為什麼排在這裡

人氣
0.50
新鮮
0.24

在主題頁與搜尋結果裡,名次由相關、人氣、新鮮三個分數決定;這一頁沒有搜尋的關鍵字,所以沒有相關分數。排序怎麼算

摘要由 AI 根據原文產生,可能有誤;完整內容請看原站。讀原文(在新分頁開啟原站)