google_generative_ai 0.2.3
google_generative_ai: ^0.2.3 copied to clipboard
The Google AI Dart SDK enables developers to use Google's state-of-the-art generative AI models (like Gemini).
0.2.3 #
- Update the package version that is sent with the HTTP client name.
- Throw more actionable error objects than
FormatExceptionfor errors. Errors were previously only correctly parsed ingenerateContentcalls. - Add support for tuned models.
- Add support for
batchEmbedContentscalls.
0.2.2 #
- Remove usage of new SDK features - support older SDKs 3.0 and above.
0.2.1 #
- Fix an issue parsing
generateContent()responses that do not include content (this can occur for somefinishReasons). - Fix an issue parsing
generateContent()responses that include citation sources with unpopulated fields - Add link to ai.google.dev docs.
0.2.0 #
- Breaking
HarmCategory.unknownrenamed tounspecified. Removed unusedunknownvalues in theHarmProbabilityandFinishReasonenums. - Add additional API documentation.
- Update the getting started instructions in the readme.
0.1.0 #
- Initial release.