A Chrome extension designed to demonstrate the capabilities of the new AI model incorporated in the latest Chrome version by summarizing your unread WhatsApp messages.
- Latest version of Google Chrome (127+) or any compatible Chromium-based browser.
- Install Chrome Canary: Ensure you have version 127. Download Chrome Canary.
- Enable Prompt API: Open
chrome://flags/#prompt-api-for-gemini-nano
, set it to "Enabled". - Enable Optimization Guide: Open
chrome://flags/#optimization-guide-on-device-model
, set it to "Enabled BypassPerfRequirement". Restart the browser. - Download Model: Go to
chrome://components/
, find "Optimization Guide On Device Model", ensure it’s fully downloaded. If the version is "0.0.0.0", click "Check for update". - Troubleshoot: If the "Optimization Guide On Device Model" is not displayed, disable the settings in steps 2 and 3, ensure you have at least 22gb free on your disk and restart your browser and re-enable it.
- Verify Setup: Open a webpage, press F12, and check
window.ai
in the console.
- Improve this README
- Improve prompt
- Check correctly if it's a group when clicked