#gemini #google-api #google #api #api-bindings #generate #rust

gemini_client_rust

A Rust client for interacting with Google's Gemini API. Tailored only for a single type of query at this point

5 releases

0.1.4 Nov 12, 2024
0.1.3 Nov 12, 2024
0.1.2 Nov 12, 2024
0.1.1 Nov 12, 2024
0.1.0 Nov 12, 2024

#1581 in Web programming

Download history 371/week @ 2024-11-09 42/week @ 2024-11-16 2/week @ 2024-11-23 2/week @ 2024-12-07

54 downloads per month

MIT license

8KB
111 lines

Gemini Client Rust

Gemini Client Rust is a Rust library for interacting with Google's Gemini API. This library provides a simple way to send prompts to the API and receive responses, making it easy to integrate generative language capabilities into your Rust applications. At this point, it is only built for a single purpose: Receive a prompt and a list and find the three closer words from the list that represent the prompt. This can be modified for similar tasks, but is not yet generalized.

Features

  • Send prompts to Google's Gemini API
  • Parse responses and extract related content
  • Easy-to-use function for generating related words based on user input

Installation

Add the following to your Cargo.toml:

[dependencies]
gemini_client_rust = "0.1.4"

Dependencies

~8–11MB
~212K SLoC