A modern chat interface built with React that leverages Chrome's Built-in AI capabilities through the Prompt API to interact with Gemini Nano locally.
- Real-time chat interface with Gemini Nano
- Customizable model parameters (temperature, top-k)
- Token usage tracking
- Chrome Dev/Canary (Version ≥ 128.0.6545.0)
- 4GB minimum Video RAM
- Windows 10/11 or MacOS ≥ 13 (Ventura)
- Non-metered network connection
1.Open a new tab in Chrome, go to chrome://flags/#optimization-guide-on-device-model
2.Select Enabled BypassPerfRequirement
3.This bypass performance checks which might get in the way of having Gemini Nano downloaded on your device.
4.Go to chrome://flags/#prompt-api-for-gemini-nano , Select Enabled
5.Relaunch Chrome.