You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ An unofficial rust-based client library to interact with the Google generative A
5
5
6
6
The goal is to emulate the [Google AI Python SDK](https://github.com/google/generative-ai-python) but in Rust.
7
7
8
-
The initial focus will be on the [newer Gemini models](https://blog.google/technology/ai/google-gemini-ai/), but the more stable and mature models will hopefully also be supported soon.
9
8
10
9
## Usage
11
10
@@ -25,20 +24,24 @@ Please see [contributing](CONTRIBUTING.md) for the rules; they are standard thou
25
24
26
25
## Work status
27
26
28
-
## Potentially Breaking Changes
29
-
30
-
Version `0.3.0` may lead to breaking changes. This version adds in some `beta` features and I have now added a feature flag to enable these.
31
-
32
27
```
33
-
google-generative-ai-rs = { version = "0.3.0", features = ["beta"] }
28
+
google-generative-ai-rs = { version = "0.3.4", features = ["beta"] }
34
29
```
35
30
36
31
Using the `beta` feature will enable the following:
37
32
38
33
-`gemini-1.5-pro-latest`
34
+
-`gemini-1.0-pro`
35
+
-`gemini-1.5-pro-latest")`
36
+
-`gemini-1.5-flash")`
37
+
-`"gemini-1.5-flash-8b")`
38
+
-`gemini-2.0-flash-exp")`
39
+
- or custom `Model::Custom(name)`
39
40
- system instructions
40
41
-`json_mode`
41
42
43
+
Note: `gemini-1.0-pro` is deprecated and will be unavailable from 15th February 2025.
44
+
42
45
I do my best to release working code.
43
46
44
47
Status today is: *"Happy path for both public and Vertex AI endpoints work for Gemini."*
0 commit comments