Watch: Chrome History Embeddings

Chrome's local system that turns pages you visit into vectors, enabling natural-language search of your own browsing history on-device.

Transcript

Have you ever tried to find a website you visited last week, but you couldn't remember the name? Chrome is solving this with a new AI-powered history search that lets you find past pages using natural-language queries. You can simply search for something like "that ice cream shop I looked at last week," and Chrome will find it.

Under the hood, Chrome does this by turning the pages you visit into high-dimensional vectors and storing them right on your device. It all starts with a document chunker that scans the page. It walks through the website's structure to group the content into meaningful passages.

Next, Chrome converts these text chunks into fifteen-hundred-and-forty-dimensional vectors. When you search, the browser runs a local vector search, scoring relevance by calculating the dot product of normalized vectors, a method known as cosine similarity.

This on-device process offers a rare look at how Google handles embedding and chunking in the real world. It is the very same family of techniques Google uses for its main search engine, now running privately and directly on your own computer.