async-gemini

Crates.ioasync-gemini
lib.rsasync-gemini
version0.1.0
sourcesrc
created_at2024-03-01 09:31:01.208315
updated_at2024-05-21 02:16:49.135875
descriptionutils for gemini
homepagehttps://github.com/washanhanzi/await-openai
repositoryhttps://github.com/washanhanzi/await-openai
max_upload_size
id1158684
size56,687
Jingyu (washanhanzi)

documentation

README

async-gemini

There are two versions of Gemini API.

The endpoint is: generativelanguage.googleapis.com/v1beta

The endpoint is: {location}-aiplatform.googleapis.com/v1

This library is primarily designed to support the first version of the Gemini API. While the Gemini API on Vertex AI has not been thoroughly tested.

Gemini API support both camelCase and snake_case as request JSON key, but this lib only support camelCase.

Gemini API support trailing comma in request JSON, but this lib do not support it.

Commit count: 60

cargo fmt