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

google-genai

Bindigns for the Google AI Platform API

1 unstable release

new 0.0.1 Dec 21, 2024

#67 in #gemini

MIT license

30KB
669 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–20MB
~284K SLoC