Chrome Built-in AI: Simple Writer

This example shows how to use the LanguageModel.write() method to generate a new text from a given topic. This is a non-streaming operation.

Topic to Write About

Status and Output

Ready. Enter a topic and click the button.


A Note on Chrome Flags

To use this feature, you must have the "Enable built-in AI" flag enabled in Chrome. Open a new tab, paste the link below, press Enter, enable the flag, and then restart Chrome.



My GitHub

You can find more of my work on my hpssjellis GitHub page:

By Jeremy Ellis LinkedIn