Rewriter API talking about itself (kinda)

30 views
Skip to first unread message

Raymond Camden

unread,
Oct 22, 2025, 11:52:17 AMOct 22
to Chrome Built-in AI Early Preview Program Discussions
I raised this issue with the Summarizer API, but I'm seeing it in Rewriter too. In this simple demo, https://codepen.io/cfjedimaster/pen/KwVoXZz?editors=1010, I let a person pick the tone/length and perform a rewrite action on the source text. Sometimes, not always, I get something like this:

"Okay, here's a more relaxed and expanded version of that famous Gettysburg Address. Let's break it down a bit, shall we?

Eighty-seven years back, our founders started something pretty amazing here – a brand new country on this land. It was built on the idea of freedom, and with a really important belief: that everyone is created equal. Pretty powerful stuff, right?

(more text...)"

Outside of the first paragraph, it's perfectly fine, but strictly speaking, when I ask the API to rewrite text, I don't want to it 'comment' about what it's doing. I literally just want rewritten text. To be fair, if this were a real tool, I'd expect the user to read, note it, remove it, etc, but it does seem like it's not adhering to the expected nature of what it should generate, right?

Thomas Steiner

unread,
Oct 22, 2025, 11:59:51 AMOct 22
to Raymond Camden, Chrome Built-in AI Early Preview Program Discussions
Thanks, Ray! That's perfect feedback for the readiness survey that Kenji is running: https://docs.google.com/forms/d/e/1FAIpQLScO-jms9d8Mm6dTIY8jeeDjoTJ5esFJDFEnWeoglBvvmCZPcw/viewform. Could I ask you to paste the example there? Appreciate the effort!

Cheers,
Tom

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 -----

--
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/3ee92f59-9695-4e82-beaf-edb4c64afc89n%40chromium.org.

Raymond Camden

unread,
Oct 22, 2025, 12:29:14 PMOct 22
to Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions
Done - I kinda skipped over Writer/Prompt areas and focused just on Rewriter. 
--
===========================================================================
Raymond Camden

Email : raymon...@gmail.com
Blog : www.raymondcamden.com

Thomas Steiner

unread,
Oct 22, 2025, 12:32:20 PMOct 22
to Raymond Camden, Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions
Perfect, I'm sure Kenji appreciates it, and so do I. For the concrete problem, maybe something we can tweak with even more system prompt massaging. (You can see what the API uses now by debugging Gemini Nano; it works for more than just the Prompt API: https://developer.chrome.com/docs/ai/debug-gemini-nano.)

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 -----
Reply all
Reply to author
Forward
0 new messages