Show HN: The future of window.ai for the front end

https://jigsawstack.com/blog/is-windowai-the-new-way-for-client-side-ai
by yoeven • 2 years ago
1 0 2 years ago

When Chrome released `window.ai` for their local model, Gemini Nano, I got excited! Not for the local model which you can't really do much with but more for the new way of interacting with AI utilities directly from the front end.

I loved the simplicity and the ease of use but not so much the capabilities and limitations.

I wanted to see if we could expand the use of window.ai by combining it with JigsawStack. While you lose the offline first capabilities. You get tons more powerful tools that you can actually use in the front end like translation or text to speech at your finger tips.

The biggest challenge was keeping it simple, easy to use while being secured, since your API key is exposed. Check out the post on we a managed to solve these problems and how you could bring AI to your front end!

Related Stories

Loading related stories...

Source preview

jigsawstack.com