Crates.io | async-gemini |
lib.rs | async-gemini |
version | 0.1.0 |
source | src |
created_at | 2024-03-01 09:31:01.208315 |
updated_at | 2024-05-21 02:16:49.135875 |
description | utils for gemini |
homepage | https://github.com/washanhanzi/await-openai |
repository | https://github.com/washanhanzi/await-openai |
max_upload_size | |
id | 1158684 |
size | 56,687 |
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.