Repository navigation
v0.5.0-1.0.0
Targeting to the changeset from v0.3.0 to v0.5.0 of an official SDK.
-
Changes from v0.3.0 google/generative-ai-android:
- Add function calling
- Make totalTokens in CountTokensResponse nullable
- Keep argument positions
- Implement error catching for unsupported Part types.
-
Changes from v0.4.0 google/generative-ai-android:
licensefield is now optional (nullable) in Citations- The default api version is now
v1beta - Files uploaded using the File service can now be referenced in the prompt using the new
FileDataPart - Implement error catching for unsupported Part types.
-
Changes from v0.5.0 google/generative-ai-android:
- Remove usages of v1beta opt-in flag as the default api version is "v1beta"
- Expose
UsageMetadatainGenerateContentResponse - Fix parsing of
UsageMetadatato address google-gemini#134
Full Changelog: v0.2.2-1.0.0...v0.5.0-1.0.0