Skip to content

Releases: avastmick/google-generative-ai-rs

v0.3.4

23 Dec 01:18
e294b97
Compare
Choose a tag to compare
fix: reinstated rust-tls to reqwest. Updated current model options.  …

v0.3.3

21 Dec 01:43
e3a0c0a
Compare
Choose a tag to compare
  • make error handling report response body
  • support custom models (so when new ones are out, they can be used)
  • allow setting response_schema
  • safety_ratings is optional in response
  • upgrade reqwest and make default features optional

v0.3.2

28 May 02:57
5faab67
Compare
Choose a tag to compare
V.0.3.2 (#39)

- `gcp_auth` version bump
- PR #38

v3.0.0

04 May 06:38
2132249
Compare
Choose a tag to compare

Added beta feature flag.

  • New model: gemini-1.5-pro-latest
  • system instructions
  • json_mode

v0.2.5

04 May 02:08
4e6e56a
Compare
Choose a tag to compare
chore: version 0.2.5

v0.2.4

18 Mar 20:56
414fa30
Compare
Choose a tag to compare
chore: bump to v0.2.4

Signed-off-by: Mick Clarke <[email protected]>

v0.2.3

11 Feb 06:53
52d5d79
Compare
Choose a tag to compare

Added character counts to allow for cost tracking, as per the Vertex AI pricing.

Refactored out the Vertex AI-specific code into own module.

v0.2.2

09 Feb 01:11
d710694
Compare
Choose a tag to compare

generateContent is now viable for Vertex AI endpoint.

v0.2.1

08 Feb 23:26
732c8eb
Compare
Choose a tag to compare
Streamed response, plus fixes (#22)

Fixes for:

- Issue #12 
- Issue #19.

Added feature:

- `countToken` - see [Gemini
API::countTokens](https://ai.google.dev/tutorials/rest_quickstart#count_tokens).