






















Contact emails
ying...@chromium.org, m...@chromium.org, rei...@chromium.org, kenji...@chromium.org, dbo...@chromium.org
Explainer
https://github.com/explainers-by-googlers/embedding-api
Specification
No information provided
Summary
The Embedding API is a proposed Web Platform API that allows developers to generate high-dimensional vector representations (embeddings) of content directly on the user's device.
By leveraging Chrome's on-device AI infrastructure and a shared on-device model, this API enables powerful semantic understanding features—such as semantic search, Retrieval-Augmented Generation (RAG), and content clustering. It eliminates the latency, cost, and privacy trade-offs of cloud services. Furthermore, compared to DIY client-side approaches, it provides significant user benefits (saving bandwidth and local storage by preventing each site from downloading its own massive model) and developer benefits (abstracting away complex model delivery and keeping WebAssembly/WebGPU frameworks up-to-date).
Blink component
Web Feature ID
Missing feature
Motivation
While existing web technologies like WebAssembly and WebGPU provide standardized, high-performance, and privacy-preserving execution environments, deploying an embedding model still forces developers into a difficult trade-off:
By ensuring stateless execution and explicitly not persisting embeddings globally, an on-device API allows the browser to safely share a single, optimized model across all origins, drastically reducing the resource footprint while providing a simple, high-level JavaScript primitive for generalist developers.
Key Use Cases
Anticipated questions
Here's a list of problems that we want to discuss with other browser vendors and the Web Machine Learning Community Group (WebML CG) as part of Standards to ensure interoperability (Note: the explainer lists more in the "Ensuring an Interoperable API Design" section)
Initial public proposal
https://github.com/webmachinelearning/proposals/issues/18
Requires code in //chrome?
True
Tracking bug
Estimated milestones
No milestones specified
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5115796490682368?gate=5187435874091008
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。