An open API service indexing awesome lists of open source software.

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

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)