No output language was specified in a Proofreader API request.

50 views
Skip to first unread message

Rowdy Rabouw

unread,
Oct 19, 2025, 4:11:18 AMOct 19
to Chrome Built-in AI Early Preview Program Discussions
I'm updating my demos and adding { outputLanguage: "en" } to all the availability and create methods of all APIs.

I didn't get it working for the Proofreader until I realised that for this API, it's { correctionExplanationLanguage: "en" } instead.

It can be quite confusing for developers, I assume.

Any thoughts on this?

Rowdy Rabouw

unread,
Oct 19, 2025, 4:14:26 AMOct 19
to Chrome Built-in AI Early Preview Program Discussions, Rowdy Rabouw
To be fair, the Translator and Prompt API also use different options to define the output language, but they are all targeting the actual text output and not the explanation that Proofreader also returns, and developers might not be interested in.

Thomas Steiner

unread,
Oct 20, 2025, 12:45:10 PMOct 20
to Rowdy Rabouw, Chrome Built-in AI Early Preview Program Discussions
Hi Rowdy,

Yes, it's a bit confusing, because each of those APIs have different sub-concepts, apart from the main input and output languages: the Summarizer, Writer, and Rewriter can have a different language for specifying the (shared) context. The Proofreader can explain its corrections in a different language than the text being corrected,… It's complicated-ish, but luckily this is where our TypeScript types can help, even in non-TypeScript code bases.

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/1c0fe0cd-0016-476a-a574-c34d26fc1843n%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 -----

Rowdy Rabouw

unread,
Oct 22, 2025, 12:05:26 PMOct 22
to Chrome Built-in AI Early Preview Program Discussions, Thomas Steiner, Chrome Built-in AI Early Preview Program Discussions, Rowdy Rabouw
👍
Reply all
Reply to author
Forward
0 new messages