Madeline Drake • over 1 year ago
Need help with Rewriter API
Hello!
I signed up for the AI Early Preview Program. I got the prompt API working just fine. I am struggling to get the Writer and Rewriter APIs working. I start to have issues in the "Confirm availability of Gemini Nano" section of the "Built-in AI Early Preview Program - The Writer and Rewriter APIs - Update #5" document. Running the code in step 1 gives me the error "Uncaught TypeError: Cannot read properties of undefined (reading 'capabilities')". The playground for the Writer/Rewriter API loads, but does not look like the screenshot in the document and does not work. If someone could help me through this, I would appreciate it.
Maddie
Comments are closed.

4 comments
Bradford Lee Manager • over 1 year ago
Hey there, we've got some of our more technical Google judges available to answer these types of questions on Discord. If you can join with this signup link and post your question there, one of them will get back to you: https://discord.com/invite/google-dev-community
Madeline Drake • over 1 year ago
I will do that. Thanks!
Reena Prajapat • over 1 year ago
Hello,
can you please provide me the link of rewriter API documents, I have searched a lot but could not find one.
Bradford Lee Manager • over 1 year ago
Hi Reena, have you joined the Early Preview Program --> goo.gle/chrome-ai-dev-preview-join? Links will be available there for the Write/Rewrite APIs.