https://github.com/kythonlk/chrome-ai
Simple ai chat app made with new chrome Gemini browser api
https://github.com/kythonlk/chrome-ai
ai chat chatbot chatgpt chrome gemini html js
Last synced: 4 months ago
JSON representation
Simple ai chat app made with new chrome Gemini browser api
- Host: GitHub
- URL: https://github.com/kythonlk/chrome-ai
- Owner: kythonlk
- Created: 2024-06-30T08:46:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-30T09:04:17.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T19:38:27.163Z (about 1 year ago)
- Topics: ai, chat, chatbot, chatgpt, chrome, gemini, html, js
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chrome-ai
## **Prerequisites**
* **Chrome Dev Version:** Ensure you're using Chrome Dev version 127 or higher. You can check your version by going to `chrome://version`. If you need to update, download the latest Dev version from the official Chrome channels: [Chrome Dev](https://www.google.com/chrome/dev/)
**Enabling Chrome AI API Flags**
1. **Access Chrome Flags:** Open Chrome and navigate to `chrome://flags/`.
2. **Enable Prompt API for Gemini Nano:**
- In the search bar, type "prompt-api-for-gemini-nano".
- From the dropdown menu next to the flag, select **Enabled**.
3. **Enable Optimization Guide - On Device Model:**
- In the search bar, type "optimization-guide-on-device-model".
- From the dropdown menu next to the flag, select **Enabled BypassPrefRequirement**.
4. **Relaunch Chrome:** Click the "Relaunch" button at the bottom of the page for the changes to take effect.
| Step | Description |
|----------------|--------------------------------------------------------------|
| Version Check | Ensure you're using Chrome Dev version 127 or higher (see below) |
| Enable Flags | 1. Open `chrome://flags/` |
| | 2. Enable "Prompt API for Gemini Nano" |
| | 3. Enable "Optimization Guide - On Device Model" (BypassPrefRequirement) |
| Relaunch Chrome | Click the "Relaunch" button to apply the changes |
**Version Check:** [https://support.google.com/chrome/a/answer/10025748?hl=en](https://support.google.com/chrome/a/answer/10025748?hl=en)