🤖 Nano AI
🌌 Overview
nano-ai is a lightweight and efficient AI adapter for integrating Gemini Nano AI model into WASM frameworks.
🚀 Features
| Method | Supported | Tested | Windows Chrome Canary | Linux Chrome Canary |
|---|---|---|---|---|
get_capabilities |
✅ | ✅ | ✅ | ✅ |
create_session |
✅ | ✅ | ✅ | ✅ |
send_prompt |
✅ | ✅ | ✅ | ❌ |
stream_prompt |
✅ | ⬜ | ✅ | ❌ |
destroy_session |
✅ | ✅ | ✅ | ✅ |
[!WARNING]
This crate has been fully tested only on Chrome Canary running on a Windows machine. Compatibility on Linux Chrome Canary is limited, as onlyget_capabilities,create_session, anddestroy_sessionmethods are confirmed to work.
🌐 WASM Frameworks
| Framework | Supported |
|---|---|
| Yew | ✅ |
| Dioxus | ⬜ |
| Leptos | ⬜ |
📖 Examples
| Framework | Example |
|---|---|
| Yew | |
| Dioxus | ⬜ |
| Leptos | ⬜ |
⬜: TODO
👥 Contributing
We welcome contributions to enhance nano-ai! Feel free to submit issues, create pull requests, or discuss improvements on our GitHub repository.
📝 License
This project is licensed under the MIT License.