Damus
Vitor Pamplona profile picture
Vitor Pamplona
@VitorPamplona
Chrome just added `window.ai` that redirects JavaScript calls to Gemini Nano, running locally, inside the browser. ๐Ÿ˜ณ

```
const model = await window.ai.createTextSession();
await model.prompt("Who are you?");
```
74โค๏ธ3๐Ÿ‘€6๐Ÿค™4๐Ÿ‘2๐Ÿ˜ฑ2๐Ÿค”2
Suhail · 113w
Where did u see that?
Sacred Peak · 113w
gross
Mr Example · 113w
What if the AI doesn't like your JavaScript calls? What if the AI is in a bad mood and doesn't want to play?
StreetRacer · 113w
Fuck those guys!
Satoru Pig · 113w
the response: "i am skynet" rsrsrs