Getting started
Last updated
Last updated
AiBrow embeds itself into all pages using the window.aibrow
namespace. If the browser doesn't support on-device AI, AiBrow will also polyfill the relevant APIs (i.e window.LanguageModel
). Check out our on how to get started!
Types for window.aibrow
can be added to your project by using the npm install --save-dev
package. Then, to expose them, place the following either in your global.d.ts
or the entry point to your code
Install the library using npm install