chrome-extensions-samples/functional-samples/ai.gemini-on-device/README.md

680 B

On-device AI with Gemini Nano

This sample demonstrates how to use the experimental Gemini Nano API in Chrome. To learn more about the API and how to sign-up for the preview, head over to Built-in AI on developer.chrome.com.

Overview

The extension provides a chat interface using the prompt API with Chrome's built-in Gemini Nano model.

Running this extension

  1. Clone this repository.
  2. Load this directory in Chrome as an unpacked extension.
  3. Click the extension icon.
  4. Interact with the prompt API in the sidebar.