#google #llm #gemini #genai #async-api

google-genai

Bindigns for the Google AI Platform API

2 releases

0.0.2 Dec 24, 2024
0.0.1 Dec 21, 2024

#285 in Machine learning


Used in libtenx

MIT license

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

~9–21MB
~289K SLoC