2 releases

new 0.0.2 Dec 4, 2024
0.0.1 Dec 2, 2024

#609 in Science

Download history 276/week @ 2024-12-02

276 downloads per month

MIT license

13KB
184 lines

🤖 Nano AI

Made with Rust Crates.io Crates.io Downloads Docs.rs License Maintenance Netlify Status

banner

🌌 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 only get_capabilities, create_session, and destroy_session methods are confirmed to work.

🌐 WASM Frameworks

Framework Supported
Yew
Dioxus
Leptos

📖 Examples

Framework Example
Yew Github
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.

Dependencies

~1.7–4MB
~75K SLoC