Chrome Built-in-AI version control.

35 views
Skip to first unread message

Jeremy Ellis

unread,
Sep 17, 2025, 1:02:33 AM (13 days ago) Sep 17
to Chrome Built-in AI Early Preview Program Discussions
One of the reasons I really like Javascript is that I can define the version of scripts I use. My main teaching TensorflowJS site at https://rocksetta.com/tensorflowjs/  


which for some pages uses the ~5 years old  <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tf...@1.0.0"> </script> and still works even though TFJS is now running V4.22.0.   I know chrome does not like people using old versions, so is that basically the concept with Chrome Built-in-AI, the most up-to-date version is the one everyone uses? 

Is there a way to tell which version has been downloaded? Does the session script always check if you are online and a newer version should be downloaded? Can a new or older version be manually installed?

Just curious.
Jer


Thomas Steiner

unread,
Sep 17, 2025, 4:22:47 AM (13 days ago) Sep 17
to Jeremy Ellis, Chrome Built-in AI Early Preview Program Discussions
Hi Jeremy,

The question is two-fold:
  • The Gemini Nano model: the browser handles the updates transparently. As a user, you won't know when an update has happened and the model version is on purpose not exposed to script. As a developer, you can check out the special page chrome://on-device-internals (paste this in the URL bar, you need to activate internals pages when you do).
  • The JavaScript APIs: those change with Chrome version changes. For example, before the current API shape (like window.LanguageModel), we had a different shape (window.ai.languageModel). When you switched Chrome version from n to n+1, these new APIs were exposed and the old ones no longer exist.
In all cases there's no way to continue using an older model version or an older version of the API shape. Hope this makes sense.

Cheers,
Tom

--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/6368c2ce-b34b-4e45-a3df-83e478f7695an%40chromium.org.


--
Thomas Steiner, PhD—Developer Relations Engineer (blog.tomayac.comtoot.cafe/@tomayac)

Google Spain, S.L.U.
Torre Picasso, Pl. Pablo Ruiz Picasso, 1, Tetuán, 28020 Madrid, Spain

CIF: B63272603
Inscrita en el Registro Mercantil de Madrid, sección 8, Hoja M­-435397 Tomo 24227 Folio 25

----- BEGIN PGP SIGNATURE -----
Version: GnuPG v2.4.8 (GNU/Linux)

iFy0uwAntT0bE3xtRa5AfeCheCkthAtTh3reSabiGbl0ck
0fjumBl3DCharaCTersAttH3b0ttom.xKcd.cOm/1181.
----- END PGP SIGNATURE -----

Jeremy Ellis

unread,
Sep 17, 2025, 11:51:07 PM (12 days ago) Sep 17
to Chrome Built-in AI Early Preview Program Discussions, Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions, Jeremy Ellis
Thanks Thomas. chrome://on-device-internals/ is super useful and interesting (The model is fairly similar to tensorflowJS). I am a bit scared to touch anything but great to see the versions etc.
Reply all
Reply to author
Forward
0 new messages