Crates.io | nano-ai |
lib.rs | nano-ai |
version | 0.0.2 |
source | src |
created_at | 2024-12-02 12:15:56.09564 |
updated_at | 2024-12-04 04:10:40.097527 |
description | ✨ Gemini Nano Adapter for WASM Frameworks. |
homepage | |
repository | https://github.com/opensass/nano-ai |
max_upload_size | |
id | 1468580 |
size | 14,008 |
nano-ai
is a lightweight and efficient AI adapter for integrating Gemini Nano AI model into WASM frameworks.
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_session
methods are confirmed to work.
Framework | Supported |
---|---|
Yew | ✅ |
Dioxus | ⬜ |
Leptos | ⬜ |
Framework | Example |
---|---|
Yew | |
Dioxus | ⬜ |
Leptos | ⬜ |
⬜: TODO
We welcome contributions to enhance nano-ai
! Feel free to submit issues, create pull requests, or discuss improvements on our GitHub repository.
This project is licensed under the MIT License.