Git Product home page Git Product logo

chrome-ai-webapp's Introduction

Chrome AI Assistant WebApp

This app succesfully creates a session and keeps context, the the built-in AI will remember what you asked.

This is the first program to make the local Gemini instance fully remember the context, as far as I am concerned.

This app does not uses any wrappers for the built-in AI.

You can visit a live version here, but keep in mind that you'll need to have a proper environment (as described below) to use it.

Note

this is an experimental feature in Chrome, and available only in more advanced versions.

This AI accesses an offline API provided locally by Chrome versions 128 or above.

Steps to Access the API

  1. Ensure Compatibility:

  2. Enable Required Flags:

    • Open Chrome and type chrome://flags in the URL bar.
    • Set the following flags:
      • Enables optimization guide on device to Enabled BypassPerfRequirements
      • Prompt API for Gemini Nano to Enabled
  3. Download the Optimization Guide:

    • Relaunch Chrome.
    • Open Chrome again and type chrome://components in the URL bar.
    • Find the component named Optimization Guide On Device Model and download it (approximately 1.5 GB).
  4. Final Steps:

    • Relaunch Chrome.
    • If everything is set up correctly, you can start using the AI. Otherwise, window.ai will be undefined.

chrome-ai-webapp's People

Contributors

dlgiovani avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.