AI is coming to the chrome browser locally.
Read about it here: ai built in.
Sign up here
You can now use a machine learning model in chrome. To enable this
# set this to Enabled BypassPerfRequirement
chrome://flags/#optimization-guide-on-device-model
# set this to enabled
chrome://flags/#prompt-api-for-gemini-nano
To test if it is working open a console and enter the following code.
const session = await window.ai.createTextSession();
const stream = session.promptStreaming('I was born in December 1980 what age am I');
for await (const chunk of stream) { console.log(chunk);}