avastmick / google-generative-ai-rs

An unofficial rust-based client library to interact with the Google Gemini generative AI API
https://docs.rs/google-generative-ai-rs/
MIT License
21 stars 7 forks source link

JSON mode #32

Closed avastmick closed 4 months ago

avastmick commented 4 months ago

Okay, show time! To be honest this has been a missing feature that has meant that I have not spent much time on this recently as it is vital for any meaningful generative usage that isn't plain chat.

Google added the feature to the API for both public and Vertex endpoints earlier in the week.

I will try to look at adding this in during the next week or so.

avastmick commented 4 months ago

Fixed with #35