2 releases
0.0.2 | Dec 24, 2024 |
---|---|
0.0.1 | Dec 21, 2024 |
#4 in #gen-ai
48 downloads per month
Used in libtenx
31KB
698 lines
genai-rs
A Rust client for the Google Generative Language API (PaLM2/Gemini).
Features
- Stream and non-stream content generation
- Full type safety with Rust datatypes
- Simple async API
See the examples
directory for usage examples.
This crate currently supports just enough fo the API to be used in tenx.
The datatypes in this crate is a transliteration of the Google Go SDK into Rust datatypes.
Dependencies
~10–22MB
~297K SLoC