Skip to content

michaelwasserman/ai-examples

Repository files navigation

Built-In AI APIs examples

Simple examples using Chrome's Built-In AI APIs.

InSite AI Pagebot - A Floating AI Chat Assistant for Any Website!

A simple drop-in on-device chat bot that can answer questions about a website, summarize page content, and translate responses.

  • Answers user questions about the page using the Prompt API. (Experimental in Chrome 138+)
  • Summarizes the page content using the Summarizer API (Available in Chrome 138+)
  • Translates responses using the Translator API (Available in Chrome 138+)
  • Implemented with generated and tailored plain HTML/JS/CSS, using on-device translation and language models.

Try the predecessor LanguageModel + Summarizer chat mole example created with lmarena.com:

Chroutine Extension - Basic On-Device AI Routine Automation POC

A Chrome extension that uses the Prompt API to automate workflows with on-device inference triggered by routines.

  • Schedules prompts to run at specific times using chrome.alarms.
  • Monitors events (e.g. GitHub repository commits) and runs prompts automatically.
  • Implemented with static vanilla HTML/JS/CSS, using chrome.storage.local to persist prompt libraries and routine state.

About

Quick examples using Chrome's Built-In AI APIs

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors