Chrome Prompt AI API for JS!
This morning I read a note about a new Chrome feature - The Prompt API
And I’ve built a demo right now:
Offline documents recognition for your projects (it does not work well, but it works)
Sensitive Data Validator - prevents sharing any sensitive info from customers before they send it (useful for forums or chats)
To my surprise - it’s possible to call AI that is built in Chrome, locally and it is very fast (considering that my M1 chip is almost 6 years old 🤪)
So, it is available now only after turning on some feature flags in Chrome that is why without links - just a video demo
Read more: developer.chrome.com/docs/ai/prompt-api & developer.chrome.com/docs/ai/built-in
Great repo for other cases: github.com/GoogleChromeLabs/web-ai-demos
If you are ready for experiments - https://chrome-ai.secmy.app/

